【Android Studio】How to Customize Spinner
<?xml version="1.0" encoding="utf-8"?> | |
<TextView | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:id="@android:id/text1" | |
style="?attr/spinnerDropDownItemStyle" | |
android:singleLine="true" | |
android:layout_width="match_parent" | |
android:layout_height="?attr/dropdownListPreferredItemHeight" | |
android:ellipsize="marquee" | |
android:textColor="@android:color/holo_blue_light" | |
android:background="@android:color/white" | |
android:textAlignment="center"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment