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

在原有布局的最外围添加一层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>

 

 

 

posted @ 2017-04-24 08:46  gary_tao  阅读(373)  评论(0编辑  收藏  举报
AmazingCounters.com 我要啦免费统计