Hello
I have a TextView in a ScrollView with a specific background image. My problem is that if the text is longer than one line, the TextView will stretch as much as the screen allows it. I would like the text view's sizes to remain the same (the sizes of the background)
<ScrollView android:id="@+id/description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/padding_large"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="@dimen/padding"
android:paddingBottom="@dimen/padding"
android:paddingLeft="@dimen/padding_large"
android:paddingRight="@dimen/padding_large"
android:background="@drawable/textfield_background_small"
android:inputType="textMultiLine"
android:text="@string/step_description"
/>
</ScrollView>
Thanks a lot