This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This imports all the layers for "icons" into iconsLayers | |
Background = new BackgroundLayer backgroundColor: "#f6f6f6" | |
#assign number of list items within each level of the list | |
cellCount = 10 | |
cellTwoCount = 10 | |
CellThreeCount = 10 | |
CellFourCount = 10 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bg = new BackgroundLayer | |
backgroundColor: "#2DD7AA" | |
container = new Layer | |
backgroundColor: "transparent", height:1334, width: 750 | |
#the content should be on 0. what moves is scrollY in the container. | |
list = new Layer | |
y:0, backgroundColor: "transparent", height:1920, width: 750 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
itemSize = 100 | |
items =[] | |
for i in [0..5] | |
items[i] = new Layer | |
x:0 | |
y:0+(i*itemSize) | |
items[i].on Events.Click, (item, i)-> | |
print i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
studio = true | |
#Android | |
# my approach is to use 720x1280 on the real device | |
# using this measurements on the studio, allows everything to run in the device without forcing scaling in framer | |
# Status bar: 48px | |
# System bar: 96px | |
# titleBars : 112px | |
# icons: 48 x 48 |