Skip to content

faruktoptas/androidframer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

android-framer Python Build Action

Add frames and titles to your Google Play screenshots. Inspired by fastlane frameit

framer

Prerequsities

Install

pip3 install androidframer==0.1

from androidframer import Framer

Framer("resources/framer.json", "resources/strings.json", "resources/images").start()

or clone this repo and then run the script below:

python3 sample.py

Configure

Edit framer.json file

  • background: Background frame. More frames can be found on Facebook Design.
  • font: Title font
  • fontsize: Title font size
  • resize: Resize ratio of the source image
  • xposition: X position of source image to background image
  • yposition: Y position of source image to background image
  • data: Title keys ("1" for 1.png) Currently supports 1 or 2 lines
  • output: Directory to place output files
{
  "background": "resources/background.png",
  "data": {
    "1": [
      "title1_1",
      "title1_2"
    ],
    "2": [
      "title2_1"
    ]
  },
  "font": "resources/font.ttf",
  "fontsize":"108",
  "xposition":156,
  "yposition":780,
  "resize":100,
  "output": "resources/output"
}

Edit strings.json file

For each language set strings for title keys specified in framer.json

{
  "en-US": {
    "title1_1": "Follow popular news",
    "title1_2": "feeds",
    "title2_1": "News summary"
  },
  "tr-TR": {
    "title1_1": "Popüler haber sitelerini",
    "title1_2": "takip edin",
    "title2_1": "Haber özeti"
  }
}

About

Add frames and titles to your Google Play screenshots.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages