Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1641] Dealing with left/top/bottom for different screen sizes

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2015-04-19T09:23:55.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsiphone6, view
ReporterSamie Syed
AssigneeShuo Liang
Created2015-03-08T16:45:52.000+0000
Updated2016-03-08T07:38:07.000+0000

Description

I am having trouble dealing with different screen sizes. I initially coded my app for iphone 4, now with the higher models and bigger screens , everything is out of position. Left: '100dp' will not visually sit in the same place as on the iphone 6 because the screen is wider. How can I resolve this?

Comments

  1. Shuo Liang 2015-03-11

    Hi, You'd better use percentage instead of dimension string, like ( left: '10%', ) Regards, Shuo

JSON Source