More themes cleanup (#5410)
* More themes cleanup * Tweak some things * Fix 'Clear History' icon * Split out ripple colored to its own drawable * Tidy up things * Unify background dim amount * Use primaryColor for Account login button * More colored ripples * use colorOnPrimary for selected comfortable library item title Co-authored-by: Soitora <simon.mattila@protonmail.com>
This commit is contained in:
@@ -1,42 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="?attr/colorLibrarySelection">
|
||||
android:color="?attr/colorPrimary">
|
||||
<item android:id="@android:id/mask">
|
||||
<shape android:shape="rectangle">
|
||||
<corners android:radius="@dimen/card_selector_radius" />
|
||||
<solid android:color="#80FFFFFF" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<selector>
|
||||
<item
|
||||
android:state_selected="true"
|
||||
android:top="2dp"
|
||||
android:right="2dp"
|
||||
android:bottom="2dp"
|
||||
android:left="2dp">
|
||||
<shape android:shape="rectangle">
|
||||
<corners android:radius="@dimen/card_selector_radius" />
|
||||
<solid android:color="?attr/colorLibrarySelectionActive" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<item
|
||||
android:state_activated="true"
|
||||
android:top="2dp"
|
||||
android:right="2dp"
|
||||
android:bottom="2dp"
|
||||
android:left="2dp">
|
||||
<shape android:shape="rectangle">
|
||||
<corners android:radius="@dimen/card_selector_radius" />
|
||||
<solid android:color="?attr/colorLibrarySelectionActive" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<item
|
||||
android:top="2dp"
|
||||
android:right="2dp"
|
||||
android:bottom="2dp"
|
||||
android:left="2dp">
|
||||
<shape android:shape="rectangle">
|
||||
<corners android:radius="@dimen/card_selector_radius" />
|
||||
<solid android:color="?android:attr/colorBackground" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
<shape android:shape="rectangle">
|
||||
<corners android:radius="@dimen/card_selector_radius" />
|
||||
<solid android:color="@color/library_item_background" />
|
||||
</shape>
|
||||
</item>
|
||||
</ripple>
|
||||
|
||||
Reference in New Issue
Block a user