improve content warning background
This commit is contained in:
parent
3a7a663824
commit
7d7aeadd41
8 changed files with 162 additions and 100 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 413 B |
21
app/src/main/res/drawable/toggle_small.xml
Normal file
21
app/src/main/res/drawable/toggle_small.xml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<?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>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 421 B |
21
app/src/main/res/drawable/toggle_small_light.xml
Normal file
21
app/src/main/res/drawable/toggle_small_light.xml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<?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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue