Move insets out of edit text background
BUG: 16405246 Change-Id: I7eb5b4e33071940cd835999325d2265a92db7e33
|
Before Width: | Height: | Size: 190 B After Width: | Height: | Size: 94 B |
|
Before Width: | Height: | Size: 194 B After Width: | Height: | Size: 99 B |
|
Before Width: | Height: | Size: 160 B After Width: | Height: | Size: 88 B |
|
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 95 B |
|
Before Width: | Height: | Size: 244 B After Width: | Height: | Size: 100 B |
|
Before Width: | Height: | Size: 243 B After Width: | Height: | Size: 103 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 112 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 117 B |
@@ -14,20 +14,25 @@
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="?attr/colorControlActivated">
|
||||
<item>
|
||||
<selector>
|
||||
<item android:state_enabled="false">
|
||||
<nine-patch android:src="@drawable/textfield_default_mtrl_alpha"
|
||||
android:tint="?attr/colorControlNormal"
|
||||
android:alpha="?attr/disabledAlpha" />
|
||||
</item>
|
||||
<item>
|
||||
<nine-patch android:src="@drawable/textfield_default_mtrl_alpha"
|
||||
android:tint="?attr/colorControlNormal" />
|
||||
</item>
|
||||
</selector>
|
||||
</item>
|
||||
<item android:id="@+id/mask" android:drawable="@drawable/textfield_activated_mtrl_alpha" />
|
||||
</ripple>
|
||||
<inset xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:insetLeft="@dimen/control_inset_material"
|
||||
android:insetTop="@dimen/control_inset_material"
|
||||
android:insetBottom="@dimen/control_inset_material"
|
||||
android:insetRight="@dimen/control_inset_material">
|
||||
<ripple android:color="?attr/colorControlActivated">
|
||||
<item>
|
||||
<selector>
|
||||
<item android:state_enabled="false">
|
||||
<nine-patch android:src="@drawable/textfield_default_mtrl_alpha"
|
||||
android:tint="?attr/colorControlNormal"
|
||||
android:alpha="?attr/disabledAlpha" />
|
||||
</item>
|
||||
<item>
|
||||
<nine-patch android:src="@drawable/textfield_default_mtrl_alpha"
|
||||
android:tint="?attr/colorControlNormal" />
|
||||
</item>
|
||||
</selector>
|
||||
</item>
|
||||
<item android:id="@+id/mask" android:drawable="@drawable/textfield_activated_mtrl_alpha" />
|
||||
</ripple>
|
||||
</inset>
|
||||
|
||||