-
-
Save codeforfun-jp/89cbe56ecc0883b339904e0d41a7940f to your computer and use it in GitHub Desktop.
How to customize spinner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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:layout_width="match_parent" | |
android:layout_height="?attr/dropdownListPreferredItemHeight" | |
android:background="@color/orange" | |
android:ellipsize="marquee" | |
android:singleLine="true" | |
android:textAlignment="center" | |
android:textColor="@color/black" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment