android - How to support layout for xhdpi and xxhdpi devices? -


i facing layout problem support xhdpi , xxhdpi devices. far know, android has no support layout-xxlarge or layout-xxhdpi. android use layout-xlarge support both xhdpi , xxhdpi. reason, facing problem. problems 2 types. 1 top margin issues. there way set top margin both xhdpi , xxhdpi devices. can't use layoutparams or viewgroup.marginlayoutparams. reason using linearlayout define weightsum of children linearlayout. inside children linearlayout, using relativelayout layout.

the reason of android 3.2, layout-xlarge, large, normal, small deprecated, , new identifiers introduced, can find here supporting multiple screens | android developers

declaring tablet layouts android 3.2

for first generation of tablets running android 3.0, proper way declare tablet layouts put them in directory xlarge configuration qualifier (for example, res/layout-xlarge/). in order accommodate other types of tablets , screen sizes—in particular, 7" tablets—android 3.2 introduces new way specify resources more discrete screen sizes.


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -