ui: fix api 21 issues
Fix obligatory API 21 insanity.
This commit is contained in:
parent
88f3439e35
commit
4e9e4beb1f
5 changed files with 11 additions and 6 deletions
6
app/src/main/res/drawable-v23/ui_item_ripple.xml
Normal file
6
app/src/main/res/drawable-v23/ui_item_ripple.xml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="?attr/colorSurface" />
|
||||
<item android:drawable="@drawable/sel_item_ripple_bg" />
|
||||
<item android:drawable="?attr/selectableItemBackground" />
|
||||
</layer-list>
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="@android:color/transparent"
|
||||
android:pathData="M 13,4.0000207 17,8 M 12.999969,4.0004121 V 17.000315 m 0,-0.0002940 -3.0000004,3 -2.9999997,-3 2.9999997,-3 M 7.021336,16.939069"
|
||||
android:pathData="M 13,4.0000207 C 14.333333,5.3333471 15.666667,6.6666736 17,8 M 12.999969,4.0004121 c 0,4.333301 0,8.6666019 0,12.9999029 m 0,0.000294 c -1,1 -2,2 -3.0000004,3 -0.9999999,-1 -1.9999998,-2 -2.9999997,-3 0.9999999,-1 1.9999998,-2 2.9999997,-3"
|
||||
android:strokeWidth="2"
|
||||
android:strokeColor="@android:color/white"
|
||||
android:strokeLineCap="round"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="?attr/colorSurface" />
|
||||
<item android:drawable="@drawable/sel_item_ripple_bg" />
|
||||
<item android:drawable="?attr/selectableItemBackground" />
|
||||
</layer-list>
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval"
|
||||
android:tint="?attr/colorPrimary">
|
||||
|
||||
android:shape="oval">
|
||||
<solid
|
||||
android:color="?attr/colorPrimary" />
|
||||
<size
|
||||
android:width="20dp"
|
||||
android:height="20dp" />
|
||||
|
|
|
|||
|
|
@ -7,6 +7,6 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:paddingStart="@dimen/spacing_medium"
|
||||
android:paddingEnd="@dimen/spacing_medium"
|
||||
app:layoutManager=".ui.accent.AccentGridLayoutManager"
|
||||
app:layoutManager="org.oxycblt.auxio.ui.accent.AccentGridLayoutManager"
|
||||
tools:itemCount="16"
|
||||
tools:listitem="@layout/item_accent" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue