简体   繁体   English

将Android应用程序扩展到屏幕

[英]Scaling android app to screen

I have developed an android app, but I have encountered a problem: 我开发了一个Android应用程序,但我遇到了一个问题:

when the screen height is to small, my app's UI is not comprised entirely by the screen. 当屏幕高度很小时,我的应用程序的UI不完全由屏幕组成。 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". 我正在使用TableLayout并将其属性设置为“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. 我建议将整个TableLayout放在ScrollView以便用户可以在表格中上下滚动。 Shrinking may result in hard to read text if you put too much on a small screen. 如果在太小的屏幕上放置太多,缩小可能会导致难以阅读的文本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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