diff options
| author | Amit Kumar <amitkma@e.email> | 2021-06-16 01:57:50 +0530 |
|---|---|---|
| committer | Amit Kumar <amitkma@e.email> | 2021-06-16 01:59:39 +0530 |
| commit | e40866d03008ec6dafa0016a31ee4c9e820032df (patch) | |
| tree | 6e0a1b73b1c0e87f8c46504b6ac6882ab5fc35fc /app/src/main/res/layout/item_app_toggle.xml | |
| parent | f4fe8a4d881deef7e43ffe296df804c8c2c7a657 (diff) | |
| download | advanced-privacy-e40866d03008ec6dafa0016a31ee4c9e820032df.tar.gz | |
Fix UI bugs and reformat code
Diffstat (limited to 'app/src/main/res/layout/item_app_toggle.xml')
| -rw-r--r-- | app/src/main/res/layout/item_app_toggle.xml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/app/src/main/res/layout/item_app_toggle.xml b/app/src/main/res/layout/item_app_toggle.xml index 7d02ec0..d0f565f 100644 --- a/app/src/main/res/layout/item_app_toggle.xml +++ b/app/src/main/res/layout/item_app_toggle.xml @@ -2,33 +2,33 @@ <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/item_permission_apps" - android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingTop="16dp" + android:layout_width="match_parent" android:paddingBottom="16dp" android:paddingLeft="32dp" android:paddingRight="32dp" + android:paddingTop="16dp" > <ImageView android:id="@+id/app_icon" - android:layout_width="36dp" - android:layout_height="36dp" android:layout_alignParentStart="true" android:layout_centerVertical="true" + android:layout_height="36dp" + android:layout_width="36dp" android:src="@drawable/ic_facebook" /> <TextView + android:fontFamily="sans-serif-medium" android:id="@+id/app_title" - android:layout_width="match_parent" - android:layout_height="wrap_content" android:layout_centerVertical="true" - android:layout_toStartOf="@+id/toggle" + android:layout_height="wrap_content" android:layout_toEndOf="@+id/app_icon" - android:fontFamily="sans-serif-medium" - android:paddingStart="32dp" + android:layout_toStartOf="@+id/toggle" + android:layout_width="match_parent" android:paddingEnd="32dp" + android:paddingStart="32dp" android:textColor="@color/black" android:textSize="16sp" tools:text="Body sensor" @@ -36,9 +36,9 @@ <Switch android:id="@+id/toggle" - android:layout_width="wrap_content" - android:layout_height="wrap_content" android:layout_alignParentEnd="true" android:layout_centerVertical="true" + android:layout_height="wrap_content" + android:layout_width="wrap_content" /> </RelativeLayout>
\ No newline at end of file |
