0
我正在尝试添加一个用于输入文本的框。这个盒子的侧面应该有一个小滚动条。使用这段代码,我得到的是一个空行,我可以输入多行文本。有谁知道我可以如何使用滚动条获得包装盒?在edittext中不显示滚动条
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<ScrollView
android:layout_height="200dp"
android:layout_width="match_parent">
<EditText
android:id="@+id/event_description"
android:hint="@string/hint_description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:textColor="#02960B"
android:textSize="14sp" />
</ScrollView>
您好感谢这么much..that作品! :) – gazubi