滚动条在android系统 [英] Scrollbar in android
本文介绍了滚动条在android系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我怎么能在Android的XML文件中添加滚动条?
任何人都可以prtovide我简单的方式来增加它的相对布局。
我试过很多次将其添加到相关和线性布局。
但是,它不工作。
请给我的解决方案。
How I can add scrollbar in android xml file??? Can anyone prtovide me the simple way to add it in relative layout. I tried many times to add it in relative and linear layout. But,It doesn't work. Please give me solution.
感谢。
推荐答案
参考上面的回答:
使用相对布局W.R.T.滚动型
HOW TO USE RELATIVE LAYOUT W.R.T. SCROLLVIEW
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/scrollView1"
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
... ... ...
</RelativeLayout>
</ScrollView>
这篇关于滚动条在android系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文