简体   繁体   中英

Multiple screen size support android mobile application

Currently I am developing a android mobile app using android studio (java). Since it should multiple screen size I make another layout file with respect to the screen size which i need(xxx-high density). But still it is not supporting. The buttons are moving out of the screen.

I have used Relative Layout as a parent layout for all of my activity.

please somebody help me to get out of this trouble. enter image description here

Just do as the folowing,

res -> layout -> New -> Layout Resource File

在此处输入图像描述

Dont forget to give the same file name, just specify the size.

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