diff options
Diffstat (limited to 'mobile/android/fenix/app/src/main/res/layout/component_permissions_blocked_by_android.xml')
-rw-r--r-- | mobile/android/fenix/app/src/main/res/layout/component_permissions_blocked_by_android.xml | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/mobile/android/fenix/app/src/main/res/layout/component_permissions_blocked_by_android.xml b/mobile/android/fenix/app/src/main/res/layout/component_permissions_blocked_by_android.xml new file mode 100644 index 0000000000..57bdd497b8 --- /dev/null +++ b/mobile/android/fenix/app/src/main/res/layout/component_permissions_blocked_by_android.xml @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- This Source Code Form is subject to the terms of the Mozilla Public + - License, v. 2.0. If a copy of the MPL was not distributed with this + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> +<LinearLayout + 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"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceListItem" + android:layout_marginStart="@dimen/site_permissions_exceptions_item_height" + android:text="@string/phone_feature_blocked_by_android" + android:layout_marginBottom="16dp" /> + + <TextView + 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" /> + + <TextView + 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_step_settings" + android:layout_marginBottom="8dp" /> + + <TextView + android:id="@+id/blocked_by_android_permissions_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceListItemSmall" + android:layout_marginStart="@dimen/site_permissions_exceptions_item_height" + tools:text="@string/phone_feature_blocked_step_permissions" + android:layout_marginBottom="8dp" /> + + <TextView + android:id="@+id/blocked_by_android_feature_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceListItemSmall" + android:layout_marginStart="@dimen/site_permissions_exceptions_item_height" + tools:text="@string/phone_feature_blocked_step_feature" /> + + <com.google.android.material.button.MaterialButton + android:id="@+id/settings_button" + style="@style/NeutralButton" + android:layout_marginVertical="16dp" + android:text="@string/phone_feature_go_to_settings" /> + +</LinearLayout> |