-
-
Save codeforfun-jp/28a3f502d98891c907e73f0031fdbd8e 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"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:gravity="center" | |
tools:context=".MainActivity"> | |
<Spinner | |
android:id="@+id/spinner" | |
android:layout_width="240dp" | |
android:layout_height="wrap_content" | |
android:background="@color/blue" | |
android:minHeight="48dp" | |
android:paddingEnd="10dp" /> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment