Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Commit

Permalink
Added generic android size templates
Browse files Browse the repository at this point in the history
  • Loading branch information
livecodepanos committed Jul 14, 2020
1 parent 3b22729 commit 1f683f8
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Toolset/palettes/menubar/revmenubar.livecodescript
Original file line number Diff line number Diff line change
Expand Up @@ -1366,6 +1366,10 @@ private function revMenubarFileMenu pContext

local sDeviceList
put \
"Generic Android 6-inch Phone (412,775)" & return & \
"Generic Android 7-inch Phablet (600, 1024)" & return & \
"Generic Android 10-inch Tablet Portrait (720,1280)" & return & \
"Generic Android 10-inch Tablet Landscape 1280,720)" & return & \
"iPhone SE (320x568)" & return & \
"iPhone 6s//7//8 (375x667)" & return & \
"iPhone 6s+//7+//8+ (414x736)" & return & \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,11 @@ function tilesArray pState
put "lc-iphone" into tArray[6]["icon"]
put "lc-iphone-filled" into tArray[6]["hoverIcon"]

put "Android 6-inch generic" into tArray[7]["label"]
put "android6inchgeneric" into tArray[7]["tag"]
put "lc-iphone" into tArray[7]["icon"]
put "lc-iphone-filled" into tArray[7]["hoverIcon"]

break
case "newTabletPortrait"
put "9.7-inch" into tArray[1]["label"]
Expand All @@ -404,6 +409,16 @@ function tilesArray pState
put "newTablet12.9portrait" into tArray[5]["tag"]
put "lc-ipad-portrait" into tArray[5]["icon"]
put "lc-ipad-portrait-filled" into tArray[5]["hoverIcon"]

put "10-inch" into tArray[6]["label"]
put "newTablet10portrait" into tArray[6]["tag"]
put "lc-ipad-portrait" into tArray[6]["icon"]
put "lc-ipad-portrait-filled" into tArray[6]["hoverIcon"]

put "7-inch" into tArray[7]["label"]
put "newTablet7portrait" into tArray[7]["tag"]
put "lc-ipad-portrait" into tArray[7]["icon"]
put "lc-ipad-portrait-filled" into tArray[7]["hoverIcon"]
break
case "newTabletLandscape"
put "9.7-inch" into tArray[1]["label"]
Expand All @@ -430,6 +445,16 @@ function tilesArray pState
put "newTablet12.9landscape" into tArray[5]["tag"]
put "lc-ipad-landscape" into tArray[5]["icon"]
put "lc-ipad-landscape-filled" into tArray[5]["hoverIcon"]

put "10-inch" into tArray[6]["label"]
put "newTablet10landscape" into tArray[6]["tag"]
put "lc-ipad-landscape" into tArray[6]["icon"]
put "lc-ipad-landscape-filled" into tArray[6]["hoverIcon"]

put "7-inch" into tArray[7]["label"]
put "newTablet7landscape" into tArray[7]["tag"]
put "lc-ipad-landscape" into tArray[7]["icon"]
put "lc-ipad-landscape-filled" into tArray[7]["hoverIcon"]
break
end switch
return tArray
Expand Down Expand Up @@ -656,6 +681,9 @@ on startCenterAction pAction
case "newIphoneXSMax11ProMax"
revIDEActionNewMainstack "iPhone XS Max / 11 Pro Max (414x896)"
break
case "android6inchgeneric"
revIDEActionNewMainstack "Generic Android 6-inch Phone (412,775)"
break
case "newTablet9.7portrait"
revIDEActionNewMainstack "iPad/Tablet Portrait (768x1024)"
break
Expand All @@ -671,6 +699,12 @@ on startCenterAction pAction
case "newTablet12.9portrait"
revIDEActionNewMainstack "iPad 12.9-inch/Tablet Portrait (1024x1366)"
break
case "newTablet10portrait"
revIDEActionNewMainstack "Generic Android 10-inch Tablet Portrait (720x1280)"
break
case "newTablet7portrait"
revIDEActionNewMainstack "Generic Android 7-inch Tablet Portrait (600x1024)"
break
case "newTablet9.7landscape"
revIDEActionNewMainstack "iPad/Tablet Landscape (1024x768)"
break
Expand All @@ -686,6 +720,12 @@ on startCenterAction pAction
case "newTablet12.9landscape"
revIDEActionNewMainstack "iPad 12.9-inch/Tablet Landscape (1366x1024)"
break
case "newTablet10landscape"
revIDEActionNewMainstack "Generic Android 10-inch Tablet Landscape (1280x720)"
break
case "newTablet7landscape"
revIDEActionNewMainstack "Generic Android 7-inch Tablet Landscape (1024x600)"
break
end switch
end startCenterAction

Expand Down

0 comments on commit 1f683f8

Please sign in to comment.