简体   繁体   中英

Make multi size screen in Android

I have two sizes of 5.1 inches, a 4-inch for 480x800. When I design in 5.1 screen and run with 4 inch screen, I have some trouble that some button missed position on screen. I designed by layout.

Android runs on a variety of devices that offer different screen sizes and densities. For applications, the Android system provides a consistent development environment across devices and handles most of the work to adjust each application's user interface to the screen on which it is displayed.

Please read below Links

  1. Supporting Multiple Screens
  2. How to support multiple screen in Android

How to support different screen size in android

Supporting multiple screen size - Android

Place your view inside a <ScrollView> . Doing so will mean users with smaller devices will be able to scroll the view if it is too large.

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