Simplify Ripple backgrounds

This commit is contained in:
Sergey Solovyev 2017-06-07 21:49:58 +02:00
parent 2743e73b36
commit 486cb82368
15 changed files with 15 additions and 75 deletions

View File

@ -24,9 +24,5 @@
<ripple xmlns:a="http://schemas.android.com/apk/res/android"
a:color="?attr/colorControlHighlight">
<item>
<shape>
<solid a:color="?attr/cpp_editor_bg" />
</shape>
</item>
<item a:drawable="?attr/cpp_editor_bg"/>
</ripple>

View File

@ -24,9 +24,5 @@
<ripple xmlns:a="http://schemas.android.com/apk/res/android"
a:color="@color/cpp_ripple_material_dark">
<item>
<shape>
<solid a:color="@color/blue_900" />
</shape>
</item>
<item a:drawable="@color/blue_900"/>
</ripple>

View File

@ -24,9 +24,5 @@
<ripple xmlns:a="http://schemas.android.com/apk/res/android"
a:color="@color/cpp_ripple_material_dark">
<item>
<shape>
<solid a:color="@color/blue_850" />
</shape>
</item>
<item a:drawable="@color/blue_850"/>
</ripple>

View File

@ -24,9 +24,5 @@
<ripple xmlns:a="http://schemas.android.com/apk/res/android"
a:color="@color/cpp_ripple_material_dark">
<item>
<shape>
<solid a:color="@color/grey_950" />
</shape>
</item>
<item a:drawable="@color/grey_950"/>
</ripple>

View File

@ -24,9 +24,5 @@
<ripple xmlns:a="http://schemas.android.com/apk/res/android"
a:color="@color/cpp_ripple_material_dark">
<item>
<shape>
<solid a:color="@color/grey_900" />
</shape>
</item>
<item a:drawable="@color/grey_900"/>
</ripple>

View File

@ -24,9 +24,5 @@
<ripple xmlns:a="http://schemas.android.com/apk/res/android"
a:color="@color/cpp_ripple_material_dark">
<item>
<shape>
<solid a:color="@color/grey_900" />
</shape>
</item>
<item a:drawable="@color/grey_900"/>
</ripple>

View File

@ -24,9 +24,5 @@
<ripple xmlns:a="http://schemas.android.com/apk/res/android"
a:color="@color/cpp_ripple_material_dark">
<item>
<shape>
<solid a:color="@color/grey_850" />
</shape>
</item>
<item a:drawable="@color/grey_850"/>
</ripple>

View File

@ -24,9 +24,5 @@
<ripple xmlns:a="http://schemas.android.com/apk/res/android"
a:color="@color/cpp_ripple_material_dark">
<item>
<shape>
<solid a:color="@color/deep_blue_900" />
</shape>
</item>
<item a:drawable="@color/deep_blue_900"/>
</ripple>

View File

@ -24,9 +24,5 @@
<ripple xmlns:a="http://schemas.android.com/apk/res/android"
a:color="@color/cpp_ripple_material_dark">
<item>
<shape>
<solid a:color="@color/deep_blue_850" />
</shape>
</item>
<item a:drawable="@color/deep_blue_850"/>
</ripple>

View File

@ -24,9 +24,5 @@
<ripple xmlns:a="http://schemas.android.com/apk/res/android"
a:color="@color/cpp_ripple_material_dark">
<item>
<shape>
<solid a:color="@color/grey_800" />
</shape>
</item>
<item a:drawable="@color/grey_800"/>
</ripple>

View File

@ -24,9 +24,5 @@
<ripple xmlns:a="http://schemas.android.com/apk/res/android"
a:color="@color/cpp_ripple_material_dark">
<item>
<shape>
<solid a:color="@color/grey_850" />
</shape>
</item>
<item a:drawable="@color/grey_850"/>
</ripple>

View File

@ -24,9 +24,5 @@
<ripple xmlns:a="http://schemas.android.com/apk/res/android"
a:color="@color/cpp_ripple_material_dark">
<item>
<shape>
<solid a:color="@color/teal_400" />
</shape>
</item>
<item a:drawable="@color/teal_400"/>
</ripple>

View File

@ -24,9 +24,5 @@
<ripple xmlns:a="http://schemas.android.com/apk/res/android"
a:color="@color/cpp_ripple_material_dark">
<item>
<shape>
<solid a:color="@color/teal_500" />
</shape>
</item>
<item a:drawable="@color/teal_500"/>
</ripple>

View File

@ -24,9 +24,5 @@
<ripple xmlns:a="http://schemas.android.com/apk/res/android"
a:color="@color/cpp_ripple_material_dark">
<item>
<shape>
<solid a:color="@color/cpp_editor_bg" />
</shape>
</item>
<item a:drawable="@color/cpp_editor_bg"/>
</ripple>

View File

@ -24,9 +24,5 @@
<ripple xmlns:a="http://schemas.android.com/apk/res/android"
a:color="@color/cpp_ripple_material_light">
<item>
<shape>
<solid a:color="@color/cpp_bg_light" />
</shape>
</item>
<item a:drawable="@color/cpp_bg_light"/>
</ripple>