Textview Of Autocompletetextview Showing Data In Single Line
I am getting textview of my autocompletetextview like image (https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm2L_6e3uSbfMC-g3ogd1fg5Guo5RMf-XAj2_hjCcOgTp6tUfAuxp9jQjJYUDQ6H3k-CvIMqyGIeHSyl4KzwCaqjHThOKvrKuyz3MgSL9AfROZs2SAyOWDrgTq6rdMnoIsA4-6U8IqW64w/s1600/AutoCompleteTextView2.1.PNG). I want th
Solution 1:
Just use a LinearLayout to wrap TextVidw:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="match_parent"android:layout_height="wrap_content"android:orientation="vertical">
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/tv_search"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:singleLine="false"
android:textColor="#000000"
android:textSize="16dp"
tools:text="test--------------------------------------test" />
</LinearLayout>
Post a Comment for "Textview Of Autocompletetextview Showing Data In Single Line"