简体   繁体   中英

Scaling android app to screen

I have developed an android app, but I have encountered a problem:

when the screen height is to small, my app's UI is not comprised entirely by the screen. And certain buttons are not visible because the layout does not fit the screen.

I am using a TableLayout and have set its properties to "match_parent".

Can anyone give me some advice?

I would suggest putting the entire TableLayout in a ScrollView so that the user can scroll up and down the table. Shrinking may result in hard to read text if you put too much on a small screen.

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