Skip to content
Snippets Groups Projects
Commit de512682 authored by Alexandre Perraud's avatar Alexandre Perraud Committed by Geoffrey Métais
Browse files

Audio : Use gradient transparent color for the headers

parent 7982c074
No related branches found
No related tags found
No related merge requests found
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:startColor="@color/grey850"
android:centerColor="@color/grey850transparent_dd"
android:endColor="@color/grey850transparent"
android:angle="270"
android:centerY="0.75" />
</shape>
\ No newline at end of file
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:startColor="@color/grey50"
android:centerColor="@color/grey50transparent_ea"
android:endColor="@color/grey50transparent"
android:angle="270"
android:centerY="0.75"/>
</shape>
\ No newline at end of file
......@@ -2,7 +2,7 @@
<TextView android:id="@+id/section_header"
android:layout_width="match_parent"
android:layout_height="48dp"
android:background="?attr/background_default"
android:background="?attr/background_default_gradient"
android:paddingStart="24dp"
android:paddingTop="@dimen/audio_item_header_padding"
android:paddingEnd="28dp"
......
......@@ -3,6 +3,7 @@
<attr name="item_footer" format="reference|color" />
<attr name="background_default" format="reference|color" />
<attr name="background_default_gradient" format="reference|color" />
<attr name="background_default_darker" format="reference|color" />
<attr name="background_actionbar" format="reference|color" />
<attr name="background_menu_divider" format="reference|color" />
......
......@@ -37,9 +37,12 @@
<color name="grey875">#2a2a2a</color>
<color name="grey900">#212121</color>
<color name="grey50transparent">#dcfafafa</color>
<color name="grey50transparent">#b9fafafa</color>
<color name="grey50transparent_ea">#eafafafa</color>
<color name="grey400transparent">#80bdbdbd</color>
<color name="grey600transparent">#80757575</color>
<color name="grey850transparent">#bb323232</color>
<color name="grey850transparent_dd">#dd323232</color>
<color name="grey900transparent">#80212121</color>
<color name="blacktransparent">#b4000000</color>
......
......@@ -25,6 +25,7 @@
<item name="actionModeBackground">@color/orange500</item>
<item name="item_footer">@color/grey300</item>
<item name="background_default">@color/grey50</item>
<item name="background_default_gradient">@drawable/gradient_background_light</item>
<item name="background_default_darker">@color/grey100</item>
<item name="background_actionbar">@color/orange500</item>
<item name="background_menu_divider">@color/grey400</item>
......@@ -128,6 +129,7 @@
<item name="windowActionModeOverlay">true</item>
<item name="actionModeBackground">@color/grey875</item>
<item name="background_default">@color/grey850</item>
<item name="background_default_gradient">@drawable/gradient_background_dark</item>
<item name="background_default_darker">@color/grey875</item>
<item name="background_actionbar">@color/grey875</item>
<item name="background_menu_divider">@color/grey700</item>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment