update minSdkVersion to 21 (#843)
* set minSdkVersion to 21 * use elevation instead of additional views for shadow * clean up code occurrences * remove drawable compat code * remove no longer needed resources * remove unneeded android:clipChildren="false" * Revert "remove no longer needed resources" This reverts commit 67a4d6f8d87b3f116b95d90dfb48f350d342f503. * remove no longer needed resources (this time the right ones)main
parent
ef9ac3939e
commit
6a7ec93b98
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.5 KiB |
@ -1,6 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" |
||||
android:shape="rectangle"> |
||||
<solid android:color="@color/color_background_dark" /> |
||||
<corners android:radius="4dp" /> |
||||
</shape> |
@ -1,6 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" |
||||
android:shape="rectangle"> |
||||
<solid android:color="#dedede" /> |
||||
<corners android:radius="4dp" /> |
||||
</shape> |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 6.5 KiB |
@ -1,21 +1,6 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
|
||||
<item> |
||||
<shape android:shape="rectangle"> |
||||
<solid android:color="#6000"/> |
||||
<corners android:radius="5dp"/> |
||||
</shape> |
||||
</item> |
||||
|
||||
<item |
||||
android:left="0dp" |
||||
android:right="0dp" |
||||
android:top="0dp" |
||||
android:bottom="2dp"> |
||||
<shape android:shape="rectangle"> |
||||
<solid android:color="@color/color_background_dark"/> |
||||
<corners android:radius="5dp"/> |
||||
</shape> |
||||
</item> |
||||
</layer-list> |
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" |
||||
android:shape="rectangle"> |
||||
<solid android:color="@color/color_background_dark" /> |
||||
<corners android:radius="4dp" /> |
||||
</shape> |
@ -1,21 +1,6 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
|
||||
<item> |
||||
<shape android:shape="rectangle"> |
||||
<solid android:color="#6000"/> |
||||
<corners android:radius="5dp"/> |
||||
</shape> |
||||
</item> |
||||
|
||||
<item |
||||
android:left="0dp" |
||||
android:right="0dp" |
||||
android:top="0dp" |
||||
android:bottom="2dp"> |
||||
<shape android:shape="rectangle"> |
||||
<solid android:color="#dedede"/> |
||||
<corners android:radius="5dp"/> |
||||
</shape> |
||||
</item> |
||||
</layer-list> |
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" |
||||
android:shape="rectangle"> |
||||
<solid android:color="#dedede" /> |
||||
<corners android:radius="4dp" /> |
||||
</shape> |
@ -1,9 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<View xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||
android:id="@+id/toolbar_shadow_shim" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="4dp" |
||||
android:background="@drawable/material_drawer_shadow_bottom" |
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior" |
||||
app:layout_collapseMode="pin" /> |
Loading…
Reference in new issue