design part 3
This commit is contained in:
20
app/src/main/res/drawable/background_badge.xml
Normal file
20
app/src/main/res/drawable/background_badge.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
|
||||
<!-- fill color -->
|
||||
<solid android:color="@color/red" />
|
||||
|
||||
<!-- radius -->
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="@color/red" />
|
||||
|
||||
<!-- corners -->
|
||||
<corners
|
||||
android:bottomLeftRadius="2dp"
|
||||
android:bottomRightRadius="2dp"
|
||||
android:topLeftRadius="2dp"
|
||||
android:topRightRadius="2dp" />
|
||||
</shape>
|
||||
Reference in New Issue
Block a user