Я получаю текстовое представление моего автозаполнения, похожее на изображение (http://1.bp.blogspot.com/_I2Ctfz7eew4/S-fuCsktkaI/AAAAAAAAAZw/31QDXkXQ_Yc/s1600/AutoCompleteTextView2.1.PNG). Я хочу, чтобы высота текстового представления увеличивалась, когда длина текста выходит за пределы ширины.
Мой код автозаполнения текста:
<AutoCompleteTextView
android:layout_width="0dip"
android:layout_weight="3.5"
android:layout_height="40dp"
android:ems="10"
android:padding="5dp"
android:imeOptions="actionNext"
android:layout_marginLeft="7dp"
android:background="@drawable/edittext_frame"
android:textSize="16dp"
/>
Мой код Textview
<TextView
xmlns:android="http://schemas.android.com/apk/res/android"
style="?android:attr/spinnerItemStyle"
android:layout_width="50dp"
android:layout_height="wrap_content"
android:paddingTop="8sp"
android:paddingBottom="8sp"
android:gravity="center_vertical"
android:textSize="14sp">
</TextView>