您的位置:首页 > 编程语言 > Java开发

JAVA Eclipse开发Android如何让超出界面的部分自动显示滚动条

2017-10-17 21:59 369 查看
在原有布局的最外围添加一层ScrollView,注意原有布局的声明也要删了
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:tools="http://schemas.android.com/tools"

android:layout_width="match_parent"

android:layout_height="match_parent"

android:overScrollMode="ifContentScrolls">

</ScrollView>

 



 

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐