diff --git a/app/src/main/res/layout/component_permissions_blocked_by_android.xml b/app/src/main/res/layout/component_permissions_blocked_by_android.xml index 5d179c8bb..7ddd84db2 100644 --- a/app/src/main/res/layout/component_permissions_blocked_by_android.xml +++ b/app/src/main/res/layout/component_permissions_blocked_by_android.xml @@ -2,24 +2,24 @@ - + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:id="@+id/permissions_blocked_container" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:layout_marginTop="16dp" + android:paddingStart="@dimen/radio_button_preference_horizontal" + android:paddingEnd="@dimen/radio_button_preference_horizontal" + android:visibility="gone" + tools:visibility="visible"> @@ -27,21 +27,24 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:textAppearance="?android:attr/textAppearanceListItemSmall" + android:layout_marginStart="@dimen/site_permissions_exceptions_item_height" android:text="@string/phone_feature_blocked_intro" - android:layout_marginBottom="16dp"/> + android:layout_marginBottom="16dp" /> + android:layout_marginBottom="8dp" /> @@ -50,7 +53,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:textAppearance="?android:attr/textAppearanceListItemSmall" - tools:text="@string/phone_feature_blocked_step_feature"/> + android:layout_marginStart="@dimen/site_permissions_exceptions_item_height" + tools:text="@string/phone_feature_blocked_step_feature" /> - - - + android:paddingBottom="@dimen/radio_button_preference_vertical" /> - - + android:paddingBottom="@dimen/radio_button_preference_vertical" /> + - - + + - + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_manage_site_permissions_feature_phone.xml b/app/src/main/res/layout/fragment_manage_site_permissions_feature_phone.xml index a4b9979ac..862a5ad6a 100644 --- a/app/src/main/res/layout/fragment_manage_site_permissions_feature_phone.xml +++ b/app/src/main/res/layout/fragment_manage_site_permissions_feature_phone.xml @@ -7,76 +7,77 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="fill_parent" android:layout_height="fill_parent"> - - + android:layout_height="wrap_content" + android:orientation="vertical" + android:layout_marginTop="@dimen/radio_button_preference_vertical"> - + android:layout_height="wrap_content"> - + - + - - + - + + - + + + \ No newline at end of file