java - what are the equivalent folders for values-small, values-normal, values-large, values-xlarge for API>=13? -
i want replace deprecated (from api 13 upwards) folders:
- values-small
- values-normal
- values-large
- values-xlarge
by values-sw(n)dp and/or values-sh(n)dp folders.
since docs say:
small screens @ least 426dp x 320dp
normal screens @ least 470dp x 320dp
large screens @ least 640dp x 480dp
xlarge screens @ least 960dp x 720dp
can confirm correct (if only width considered):
- values-small = values-sw426dp
- values-normal = values-sw470dp
- values-large = values-sw640dp
- values-xlarge= values-sw960dp
since deprecated folder-structure considers hight , docs combining possible:
if available height concern you, can same using h(n)dp qualifier. or, combine w(n)dp , h(n)dp qualifiers if need specific.
what combined equivalent folders mentioned ones? cannot find example of combined folder....
thank you!
the adaptive ui material design guidelines measure things out in terms of device width alone, noting number of breakpoints:
- 600dp smallest width consider two-pane layout (i.e., summary , detail, master/detail, etc) rather 2 separate screens
- 1600dp 'maximum width' of content in cases
you'll note use 'column' system denote separate breakpoints switching showing more content - breakpoints include 480dp , 840dp.
consider using these breakpoints designing app, rather using previous buckets.
Comments
Post a Comment