Android 自定义文本栏
您好,我正在寻找一种方法,以有一个文本框像这样与我的disclamer在它,所以我想有一个滚动条上下的方式,因为文本将有点长,我不能适应它在框中的时刻Android 自定义文本栏,android,Android,您好,我正在寻找一种方法,以有一个文本框像这样与我的disclamer在它,所以我想有一个滚动条上下的方式,因为文本将有点长,我不能适应它在框中的时刻 http://img24.imageshack.us/img24/6303/introqm.png <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res
http://img24.imageshack.us/img24/6303/introqm.png
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/LYLBKGRD" >
<EditText
android:id="@+id/editText1"
android:layout_width="300dp"
android:layout_height="250dp"
android:layout_marginLeft="10dp"
android:layout_marginTop="15dp"
android:inputType="textMultiLine">
<requestFocus />
</EditText>
谢谢请尝试以下内容
<EditText
android:id="@+id/edit_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:singleLine="false"
android:maxLines="3"
android:scrollbars="vertical">
</EditText>
好的,那么你的问题是什么?试着在滚动视图中包装你的编辑文本。有点难理解你在问什么。对不起,大家好,当我在框中写了很多文本时,文本只是向下移动,但我看不到,这就是为什么我想要一个滚动条