All applications should support any pixel density. Previously we used to have, .hspan / .vspan to make sure each UI components are placed correctly but it is difficult for developer to specify such alignment. We have now .dp() function that will make sure each UI component get scaled accordingly to the UI window to keep the aspect ratio. Developers just need to put the pixel number as specified on the specification, and the UI will calculate it by itself.
-
Bramastyo Harimukti Santoso
-
Bramastyo Harimukti Santoso
- Votes:
-
0 Vote for this issue
- Watchers:
-
1 Start watching this issue
- Created:
- Updated:
- Resolved:
There are no open Gerrit changes