am 67f0c2d8: am ec7467b0: Merge "Fix the underlined spinner asset to match text field" into lmp-dev

* commit '67f0c2d847baa6f0b20013d420d365b2c0caf254':
  Fix the underlined spinner asset to match text field
This commit is contained in:
Alan Viverette
2014-09-18 22:51:56 +00:00
committed by Android Git Automerger
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>