Android - Way to set the page to scroll if it doesn't fit?

删除回忆录丶 提交于 2020-01-16 19:57:10

问题


One of my screen has button which won't display on screen below a certain width. Is there a way to allow the screen to scroll if this is the case so the buttons can be got to?


回答1:


Absolutely, embed your layout within a ScrollView.




回答2:


Simply wrap your layout in a ScrollView.



来源:https://stackoverflow.com/questions/12272580/android-way-to-set-the-page-to-scroll-if-it-doesnt-fit

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!