Fix toolbar scrim in album/artist detail view (#290)
This commit is contained in:
parent
ef20fe104d
commit
bf6556b213
4 changed files with 6 additions and 6 deletions
|
|
@ -4,6 +4,6 @@
|
|||
<gradient
|
||||
android:angle="90"
|
||||
android:centerY="0.33"
|
||||
android:endColor="@color/thirty_three_percent_black_overlay"
|
||||
android:endColor="@color/fifty_percent_black_overlay"
|
||||
android:startColor="#00000000" />
|
||||
</shape>
|
||||
|
|
@ -61,8 +61,8 @@
|
|||
<FrameLayout
|
||||
android:id="@+id/toolbar_container"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/toolbar_scrim_height"
|
||||
android:background="@drawable/toolbar_gradient">
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@android:color/transparent">
|
||||
|
||||
<include layout="@layout/shadow_statusbar_toolbar" />
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="@dimen/toolbar_scrim_height"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/toolbar_scrim_height"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignBottom="@id/dummy_statusbar_actionbar"
|
||||
android:layout_alignTop="@id/dummy_statusbar_actionbar"
|
||||
android:background="@drawable/toolbar_gradient" />
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="twenty_percent_black_overlay">#34000000</color>
|
||||
<color name="thirty_three_percent_black_overlay">#54000000</color>
|
||||
<color name="fifty_percent_black_overlay">#88000000</color>
|
||||
|
||||
<color name="app_shortcut_default_foreground">#607d8b</color>
|
||||
<color name="app_shortcut_default_background">#f5f5f5</color>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue