Android - 如何向微调器添加底部(聚焦)边框?
Android - How to add a bottom (focused) border to spinner?
如何向微调器添加底部边框,例如 Google 添加新联系人(见图)?
然后,当我点击微调器时,在 Google 添加新联系人时,边框变为蓝色。
我的微调器有这个代码:
<Spinner
android:id="@+id/spinner1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:entries="@array/insert_type"
android:prompt="@string/insert_type_title"/>
派对迟到了,但你可以使用 style="@style/Widget.AppCompat.Spinner.Underlined
如何向微调器添加底部边框,例如 Google 添加新联系人(见图)?
然后,当我点击微调器时,在 Google 添加新联系人时,边框变为蓝色。
我的微调器有这个代码:
<Spinner
android:id="@+id/spinner1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:entries="@array/insert_type"
android:prompt="@string/insert_type_title"/>
派对迟到了,但你可以使用 style="@style/Widget.AppCompat.Spinner.Underlined