-
-
Save codeforfun-jp/e34deaf13dc2a223c29c22d3abf2574d 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="@drawable/abc_spinner_mtrl_am_alpha" | |
android:backgroundTint="@color/white" | |
android:ellipsize="marquee" | |
android:singleLine="true" | |
android:textColor="@color/white" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment