appcelerator-titans/tweetanium — Issue #7: How to scale smarter
Author: owntheweb
Created: 2011-11-28 14:35:15+00:00
State: open

I'm using tweetanium as a great reference to build apps. THANK YOU SO MUCH! :D

Tip: I saw some lines in there about needing to scale values "smarter-er". Instead of using a value like this:
20
I recommend using dp values like this:
'20dp'

I received original advise previously at:
http://developer.appcelerator.com/question/121785/whats-a-good-nav-bar-icon-button-size-for-androidiphoneipad-apps

That has helped me keep things more consistent looking between platforms/resolutions so far, with exception of font sizes. It's ok for Android, but iPhone needs something more literal like you have it. The handy os() function is great for assisting in that way.

Feel free to let me know and discard if not best practice.

Best regards,

Chris