No, I mean defining a value like this: <dimen name="some_value">140dp</dimen>
and then using it like this: <RealtiveLayout ..... android:layout_width="@dimen/some_value"> I used this for widget sizing, and had a default fallback dimens.xml in "res/values" (without alternate qualifiers). Based on my user's feedback, this produced zero-sized (invisible) widget layouts. Was this supposed to work for 1.5? -- Kostya 2011/1/17 Dianne Hackborn <hack...@android.com> > By @dimens do you mean the "dp" unit in layouts? > > If there is something not working on a device, we'd like to know about it > because it is not compatible with the CDD which is a requirement for having > Market. > > > On Mon, Jan 17, 2011 at 9:40 AM, Kostya Vasilyev <kmans...@gmail.com>wrote: > >> I'm using @dimens quite a bit, not because I have different values for >> different screen sizes / resolutions, but because it lets me tweak my >> layouts more easily during development. >> >> After seeing them not work on a certain 1.5 device (even though that's >> part of API level 1), I've decided that the extra 5% is not worth the >> trouble. >> >> -- Kostya >> >> 2011/1/17 String <sterling.ud...@googlemail.com> >> >> On Monday, January 17, 2011 3:27:02 PM UTC, Kostya Vasilyev wrote: >>> >>> For now, both my apps continue to support 1.5, but a new project I'm >>>> working on will only run on 1.6+ - because that's the first version with >>>> multi-resolution support, and one really needs that these days. >>>> >>> >>> What are you doing with multi-resolution that's problematic? I have quite >>> a bit of multi-resolution code, and so far the vast majority has degraded >>> pretty gracefully on 1.5. >>> >>> String >>> -- >>> 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+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> >>> For more options, visit this group at >>> http://groups.google.com/group/android-developers?hl=en >>> >> >> -- >> 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+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> > > > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. > > -- > 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+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en