Changes content warning show more/less button to use a drawable with built-in shadow for compatibility with API levels below 21.

This commit is contained in:
Vavassor 2017-08-11 16:34:43 -04:00
commit 67f3ce6e4e
5 changed files with 13 additions and 26 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 413 B

View file

@ -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="3dp" />
</shape>

Binary file not shown.

After

Width:  |  Height:  |  Size: 421 B

View file

@ -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="#ffefefef" />
<corners android:radius="2dp" />
</shape>