Wednesday, December 22, 2010

[android-developers] Cannot define a float as a resource?

Am I missing something or there is no mechanism to define a float
value as a resource?

I am trying to have a locale dependent weight added to some of my
buttons. Right now, as a workaround, I am defining the weight as an
Integer and then divide and manualy set it. But why would there be
such a seemingly arbitrary decision made as not to allow floats but
allow ints?

--
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate