|
|
|
@ -3,9 +3,15 @@
|
|
|
|
|
- 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/. -->
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:fillViewport="true">
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
android:id="@+id/quick_action_sheet"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
@ -19,7 +25,7 @@
|
|
|
|
|
android:layout_height="@dimen/quicksettings_item_height"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
tools:text="https://wikipedia.org" />
|
|
|
|
|
tools:text="https://wikipedia.org"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/security_info"
|
|
|
|
@ -30,7 +36,7 @@
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/url"
|
|
|
|
|
tools:drawableStartCompat="@drawable/mozac_ic_lock"
|
|
|
|
|
tools:drawableTint="@color/photonGreen50"
|
|
|
|
|
tools:text="Secure connection" />
|
|
|
|
|
tools:text="Secure connection"/>
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/line_divider_security"
|
|
|
|
@ -40,7 +46,7 @@
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:background="?neutralFaded"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/security_info" />
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/security_info"/>
|
|
|
|
|
|
|
|
|
|
<Switch
|
|
|
|
|
android:id="@+id/tracking_protection"
|
|
|
|
@ -51,7 +57,7 @@
|
|
|
|
|
android:paddingEnd="24dp"
|
|
|
|
|
android:text="@string/preferences_tracking_protection"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/report_problem"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/line_divider_security" />
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/line_divider_security"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/report_problem"
|
|
|
|
@ -64,7 +70,7 @@
|
|
|
|
|
android:textColor="?accentBright"
|
|
|
|
|
android:textSize="12sp"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/line_divider"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tracking_protection" />
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tracking_protection"/>
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/line_divider"
|
|
|
|
@ -74,7 +80,7 @@
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:background="?neutralFaded"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/camera_icon"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/camera_icon"
|
|
|
|
@ -84,7 +90,7 @@
|
|
|
|
|
android:text="@string/preference_phone_feature_camera"
|
|
|
|
|
app:drawableStartCompat="@drawable/ic_camera"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/line_divider" />
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/line_divider"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/camera_action_label"
|
|
|
|
@ -93,7 +99,7 @@
|
|
|
|
|
android:layout_height="@dimen/quicksettings_item_height"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/line_divider"
|
|
|
|
|
tools:text="Allowed" />
|
|
|
|
|
tools:text="Allowed"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/microphone_icon"
|
|
|
|
@ -103,7 +109,7 @@
|
|
|
|
|
android:text="@string/preference_phone_feature_microphone"
|
|
|
|
|
app:drawableStartCompat="@drawable/ic_microphone"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/camera_icon" />
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/camera_icon"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
@ -113,7 +119,7 @@
|
|
|
|
|
android:layout_height="@dimen/quicksettings_item_height"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/camera_action_label"
|
|
|
|
|
tools:text="Blocked by Android" />
|
|
|
|
|
tools:text="Blocked by Android"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/notification_icon"
|
|
|
|
@ -123,7 +129,7 @@
|
|
|
|
|
android:text="@string/preference_phone_feature_notification"
|
|
|
|
|
app:drawableStartCompat="@drawable/ic_notification"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/microphone_icon" />
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/microphone_icon"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/notification_action_label"
|
|
|
|
@ -132,7 +138,7 @@
|
|
|
|
|
android:layout_height="@dimen/quicksettings_item_height"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/microphone_action_label"
|
|
|
|
|
tools:text="Blocked" />
|
|
|
|
|
tools:text="Blocked"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/location_icon"
|
|
|
|
@ -142,7 +148,7 @@
|
|
|
|
|
android:text="@string/preference_phone_feature_location"
|
|
|
|
|
app:drawableStartCompat="@drawable/ic_location"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/notification_icon" />
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/notification_icon"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/location_action_label"
|
|
|
|
@ -151,6 +157,7 @@
|
|
|
|
|
android:layout_height="@dimen/quicksettings_item_height"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/notification_action_label"
|
|
|
|
|
tools:text="Blocked" />
|
|
|
|
|
tools:text="Blocked"/>
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
</androidx.core.widget.NestedScrollView>
|