summaryrefslogtreecommitdiffstats
path: root/mobile/android/fenix/app/src/main/res/layout/fragment_manage_site_permissions_feature_phone.xml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/fenix/app/src/main/res/layout/fragment_manage_site_permissions_feature_phone.xml')
-rw-r--r--mobile/android/fenix/app/src/main/res/layout/fragment_manage_site_permissions_feature_phone.xml83
1 files changed, 83 insertions, 0 deletions
diff --git a/mobile/android/fenix/app/src/main/res/layout/fragment_manage_site_permissions_feature_phone.xml b/mobile/android/fenix/app/src/main/res/layout/fragment_manage_site_permissions_feature_phone.xml
new file mode 100644
index 0000000000..9dab31a011
--- /dev/null
+++ b/mobile/android/fenix/app/src/main/res/layout/fragment_manage_site_permissions_feature_phone.xml
@@ -0,0 +1,83 @@
+<?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/. -->
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:layout_marginTop="@dimen/radio_button_preference_vertical">
+
+ <RadioGroup
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+
+ <RadioButton
+ android:id="@+id/ask_to_allow_radio"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="?android:attr/selectableItemBackground"
+ android:button="@null"
+ android:drawablePadding="@dimen/radio_button_preference_drawable_padding"
+ android:paddingStart="@dimen/radio_button_preference_horizontal"
+ android:paddingTop="@dimen/radio_button_preference_vertical"
+ android:paddingEnd="@dimen/radio_button_preference_horizontal"
+ android:paddingBottom="@dimen/radio_button_preference_vertical"
+ android:textAppearance="?android:attr/textAppearanceListItem"
+ app:drawableStartCompat="?android:attr/listChoiceIndicatorSingle"
+ tools:text="@string/preference_option_phone_feature_ask_to_allow" />
+
+ <RadioButton
+ android:id="@+id/block_radio"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="?android:attr/selectableItemBackground"
+ android:button="@null"
+ android:drawablePadding="@dimen/radio_button_preference_drawable_padding"
+ android:paddingStart="@dimen/radio_button_preference_horizontal"
+ android:paddingTop="@dimen/radio_button_preference_vertical"
+ android:paddingEnd="@dimen/radio_button_preference_horizontal"
+ android:paddingBottom="@dimen/radio_button_preference_vertical"
+ android:textAppearance="?android:attr/textAppearanceListItem"
+ app:drawableStartCompat="?android:attr/listChoiceIndicatorSingle"
+ tools:text="@string/preference_option_phone_feature_blocked" />
+
+ <RadioButton
+ android:id="@+id/third_radio"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="?android:attr/selectableItemBackground"
+ android:button="@null"
+ android:drawablePadding="@dimen/radio_button_preference_drawable_padding"
+ android:paddingStart="@dimen/radio_button_preference_horizontal"
+ android:paddingTop="@dimen/radio_button_preference_vertical"
+ android:paddingEnd="@dimen/radio_button_preference_horizontal"
+ android:paddingBottom="@dimen/radio_button_preference_vertical"
+ android:textAppearance="?android:attr/textAppearanceListItem"
+ app:drawableStartCompat="?android:attr/listChoiceIndicatorSingle" />
+
+ <RadioButton
+ android:id="@+id/fourth_radio"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="?android:attr/selectableItemBackground"
+ android:button="@null"
+ android:drawablePadding="@dimen/radio_button_preference_drawable_padding"
+ android:paddingStart="@dimen/radio_button_preference_horizontal"
+ android:paddingTop="@dimen/radio_button_preference_vertical"
+ android:paddingEnd="@dimen/radio_button_preference_horizontal"
+ android:paddingBottom="@dimen/radio_button_preference_vertical"
+ android:textAppearance="?android:attr/textAppearanceListItem"
+ app:drawableStartCompat="?android:attr/listChoiceIndicatorSingle" />
+ </RadioGroup>
+
+ <include layout="@layout/component_permissions_blocked_by_android"/>
+
+ </LinearLayout>
+</ScrollView>