Add a simple gradient to collection creation
This commit is contained in:
parent
afac413c98
commit
d1f70e908e
13
app/src/main/res/drawable/simple_dark_grey_gradient.xml
Normal file
13
app/src/main/res/drawable/simple_dark_grey_gradient.xml
Normal 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>
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user