1
0
Fork 0

Add a simple gradient to collection creation

master
Matt McKenna 2019-10-31 22:37:30 -04:00 committed by Emily Kager
parent afac413c98
commit d1f70e908e
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape>
<gradient
android:angle="90"
android:startColor="@color/dark_grey_90_gradient_start"
android:centerColor="@color/dark_grey_90_gradient_start"
android:endColor="@color/dark_grey_90_gradient_end"
android:type="linear" />
</shape>
</item>
</selector>

View File

@ -115,6 +115,14 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<View
android:id="@+id/bottom_gradient"
android:layout_width="match_parent"
android:layout_height="102dp"
android:background="@drawable/simple_dark_grey_gradient"
app:layout_constraintBottom_toBottomOf="parent"
android:focusable="false"/>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/bottom_button_bar_layout"
android:layout_width="match_parent"

View File

@ -21,6 +21,8 @@
<color name="disabled_light_theme">#6620123A</color>
<color name="scrimStart_light_theme">#F515141A</color>
<color name="scrimEnd_light_theme">#F542414D</color>
<color name="dark_grey_90_gradient_start">#FF15141A</color>
<color name="dark_grey_90_gradient_end">#0015141A</color>
<color name="collection_icon_color_violet_light_theme">#7542E5</color>
<color name="collection_icon_color_blue_light_theme">#0250BB</color>
<color name="collection_icon_color_pink_light_theme">#E31587</color>