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" <ripple xmlns:a="http://schemas.android.com/apk/res/android"
a:color="?attr/colorControlHighlight"> a:color="?attr/colorControlHighlight">
<item> <item a:drawable="?attr/cpp_editor_bg"/>
<shape>
<solid a:color="?attr/cpp_editor_bg" />
</shape>
</item>
</ripple> </ripple>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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