Last active
November 28, 2015 22:41
-
-
Save sababado/dcc863680251695f1b01 to your computer and use it in GitHub Desktop.
Make spinners show a bottom line and a down arrow easily.
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
<resources> | |
<!-- Base application theme. --> | |
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> | |
<item name="android:spinnerStyle">@style/AppTheme.Form.Spinner</item> | |
<item name="android:spinnerItemStyle">@style/AppTheme.Form.Spinner.Item</item> | |
</style> | |
<!-- Spinner Styles --> | |
<style name="AppTheme.Form.Spinner" parent="Widget.AppCompat.Spinner"> | |
<item name="android:paddingRight">0dp</item> | |
<item name="android:paddingEnd">0dp</item> | |
</style> | |
<style name="AppTheme.Form.Spinner.Item" parent="Widget.AppCompat.EditText"> | |
<item name="android:clickable">false</item> | |
</style> | |
</resources> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This mimics the look that the Google Contacts app shows.