Update: Rounded Icons

Update: Use ShapeableImageView
This commit is contained in:
LooKeR
2021-10-16 09:47:32 +05:30
parent 649055d7f1
commit 7a36d943c0
15 changed files with 51 additions and 30 deletions

View File

@ -2,6 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="48dp"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:orientation="horizontal">
@ -16,10 +17,11 @@
android:textColor="?android:attr/textColor"
android:textSize="16sp" />
<Switch
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/enabled"
android:layout_width="wrap_content"
android:layout_height="match_parent"
app:thumbTint="?android:attr/colorPrimary"
android:clickable="false"
android:paddingStart="12dp"
android:paddingEnd="12dp" />