Answer the question
In order to leave comments, you need to log in
How can Spinner(s) add an underline so that the text of the list is not cut off?
There is a drawing:
My code:
(TextView
android:layout_marginBottom="@dimen/space8"
android:layout_marginTop="@dimen/space8"
android:text="@string/category"
Spinner
style="@style/Widget.AppCompat.Spinner .Underlined"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/space24")
With this layout, the drop-down text is cut off by the underline.
When I make the spinner height greater than 48dp,
Is there a solution how to implement underline so that the text is not cut off?
More specifically: I'm having difficulty with the style style="@style/Widget.AppCompat.Spinner.Underlined", the line appears under the icon itself
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question