Saturday, January 5, 2013

Re: [android-developers] Dimen.xml. Use scenarios.

On Sat, Jan 5, 2013 at 5:21 AM, Dmitriy F <midnight.88s@gmail.com> wrote:
why should I be concerned about dimen.xml and what the use scenarios out there ?

Two things:

1) removing the hard-coded values from your layouts to make it easier to tweak values from one xml file with your units rather than going back to a specific layout every time you want to tweak the size of something.

2) Special case where your unit values will change depending on some qualifier (screen size, Android version, language, etc).

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment