change circular menu icon
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 116 KiB |
8
app/src/main/res/drawable/circle_white.xml
Normal file
8
app/src/main/res/drawable/circle_white.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:innerRadius="0dp"
|
||||
android:shape="ring"
|
||||
android:thicknessRatio="2"
|
||||
android:useLevel="false">
|
||||
<solid android:color="#ffffff"/>
|
||||
</shape>
|
||||
@@ -1,12 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/icon"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:src="@drawable/ic_circular_menu"/>
|
||||
<com.makeramen.roundedimageview.RoundedImageView
|
||||
android:id="@+id/icon"
|
||||
android:layout_width="42dp"
|
||||
android:layout_height="42dp"
|
||||
android:background="@drawable/circle_white"
|
||||
android:padding="5dp"
|
||||
android:src="@drawable/ic_android_eat_js"
|
||||
app:riv_corner_radius="16dp"
|
||||
app:riv_oval="true"/>
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user