Fix the underlined spinner asset to match text field

Removes the spinner_textfield asset and replaces it with layered
spinner and textfield assets.

BUG: 17557459
Change-Id: I5dc98727c84ec22bc73328f2f94a380d920f1b7d
This commit is contained in:
Alan Viverette
2014-09-18 12:45:53 -07:00
parent 80ea66b102
commit 73aad6cefe
11 changed files with 21 additions and 9 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 455 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 454 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 359 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 356 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 526 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 522 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 769 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 769 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -17,17 +17,29 @@
<inset xmlns:android="http://schemas.android.com/apk/res/android"
android:inset="@dimen/control_inset_material">
<selector android:autoMirrored="true">
<item android:state_checked="true">
<nine-patch android:src="@drawable/spinner_textfield_activated_mtrl_alpha"
android:tint="?attr/colorControlActivated" />
</item>
<item android:state_pressed="true">
<nine-patch android:src="@drawable/spinner_textfield_activated_mtrl_alpha"
android:tint="?attr/colorControlActivated" />
<item android:state_checked="false" android:state_pressed="false">
<layer-list android:paddingMode="stack">
<item>
<nine-patch android:src="@drawable/textfield_default_mtrl_alpha"
android:tint="?attr/colorControlNormal" />
</item>
<item>
<nine-patch android:src="@drawable/spinner_mtrl_am_alpha"
android:tint="?attr/colorControlNormal" />
</item>
</layer-list>
</item>
<item>
<nine-patch android:src="@drawable/spinner_textfield_default_mtrl_alpha"
android:tint="?attr/colorControlNormal" />
<layer-list android:paddingMode="stack">
<item>
<nine-patch android:src="@drawable/textfield_activated_mtrl_alpha"
android:tint="?attr/colorControlActivated" />
</item>
<item>
<nine-patch android:src="@drawable/spinner_mtrl_am_alpha"
android:tint="?attr/colorControlActivated" />
</item>
</layer-list>
</item>
</selector>
</inset>