aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/item_app_toggle.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/item_app_toggle.xml')
-rw-r--r--app/src/main/res/layout/item_app_toggle.xml22
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