简体   繁体   中英

Supporting multiple size of screen

In my app i use Appbarlayout many times but the problem is when i run app in devices have resolution approx 480*720 the app bar layout cover whole screen

But in other high resolution devices it seems good

Not in appbarlayout also in navigation header height and other layout height.

How to fix this problem so that app seems good in low resolution as well as high resolution devices.

and also i want my app make tablet support. Tablets were so wide and looks weird in that also... Can some one help

Any answers will highly appreciated

You can add your dimension under value folder. You need to create sub folder folder under VALUE section and put your dimensions under it. Please refer below links for more details it will solve your problem.

  1. Different values folders in android
  2. http://www.tothenew.com/blog/handle-multiple-screen-sizes-in-android/
  3. https://developer.android.com/training/multiscreen/screensizes.html
  4. https://developer.android.com/guide/practices/screens_support.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM