2019-10-16 17:14:40 +00:00
|
|
|
<?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/. -->
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
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:id="@+id/permissions_view"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<TextView
|
2020-02-06 16:00:32 +00:00
|
|
|
android:id="@+id/cameraStatus"
|
2019-10-16 17:14:40 +00:00
|
|
|
style="@style/QuickSettingsText.PermissionItemEnd"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="@dimen/quicksettings_item_height"
|
2019-10-16 17:15:58 +00:00
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/microphoneStatus"
|
2019-10-16 17:14:40 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2019-10-16 17:15:58 +00:00
|
|
|
app:layout_constraintStart_toEndOf="@id/cameraLabel"
|
|
|
|
tools:text="Allowed"
|
|
|
|
tools:visibility="visible" />
|
2019-10-16 17:14:40 +00:00
|
|
|
|
|
|
|
<TextView
|
2019-10-16 17:15:58 +00:00
|
|
|
android:id="@+id/cameraLabel"
|
2019-10-16 17:14:40 +00:00
|
|
|
style="@style/QuickSettingsText.Icon"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="@dimen/quicksettings_item_height"
|
2019-12-06 03:54:32 +00:00
|
|
|
app:drawableStartCompat="@drawable/ic_camera"
|
2019-10-16 17:14:40 +00:00
|
|
|
android:text="@string/preference_phone_feature_camera"
|
2019-10-16 17:15:58 +00:00
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/microphoneLabel"
|
2020-02-06 16:00:32 +00:00
|
|
|
app:layout_constraintEnd_toStartOf="@id/cameraStatus"
|
2019-10-16 17:15:58 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
tools:visibility="visible" />
|
2019-10-16 17:14:40 +00:00
|
|
|
|
|
|
|
<TextView
|
2019-10-16 17:15:58 +00:00
|
|
|
android:id="@+id/microphoneStatus"
|
2019-10-16 17:14:40 +00:00
|
|
|
style="@style/QuickSettingsText.PermissionItemEnd"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="@dimen/quicksettings_item_height"
|
2019-10-16 17:15:58 +00:00
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/notificationStatus"
|
2019-10-16 17:14:40 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2019-10-16 17:15:58 +00:00
|
|
|
app:layout_constraintStart_toEndOf="@id/microphoneLabel"
|
2019-12-17 18:47:21 +00:00
|
|
|
tools:text="@string/phone_feature_blocked_by_android"
|
2019-10-16 17:15:58 +00:00
|
|
|
tools:visibility="visible" />
|
2019-10-16 17:14:40 +00:00
|
|
|
|
|
|
|
<TextView
|
2019-10-16 17:15:58 +00:00
|
|
|
android:id="@+id/microphoneLabel"
|
2019-10-16 17:14:40 +00:00
|
|
|
style="@style/QuickSettingsText.Icon"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="@dimen/quicksettings_item_height"
|
2019-12-06 03:54:32 +00:00
|
|
|
app:drawableStartCompat="@drawable/ic_microphone"
|
2019-10-16 17:14:40 +00:00
|
|
|
android:text="@string/preference_phone_feature_microphone"
|
2019-10-16 17:15:58 +00:00
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/notificationLabel"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/microphoneStatus"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
tools:visibility="visible" />
|
2019-10-16 17:14:40 +00:00
|
|
|
|
|
|
|
<TextView
|
2019-10-16 17:15:58 +00:00
|
|
|
android:id="@+id/notificationStatus"
|
2019-10-16 17:14:40 +00:00
|
|
|
style="@style/QuickSettingsText.PermissionItemEnd"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="@dimen/quicksettings_item_height"
|
2019-10-16 17:15:58 +00:00
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/locationStatus"
|
2019-10-16 17:14:40 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2019-10-16 17:15:58 +00:00
|
|
|
app:layout_constraintStart_toEndOf="@id/notificationLabel"
|
2019-12-17 18:47:21 +00:00
|
|
|
tools:text="@string/preference_option_phone_feature_blocked"
|
2019-10-16 17:15:58 +00:00
|
|
|
tools:visibility="visible" />
|
2019-10-16 17:14:40 +00:00
|
|
|
|
|
|
|
<TextView
|
2019-10-16 17:15:58 +00:00
|
|
|
android:id="@+id/notificationLabel"
|
2019-10-16 17:14:40 +00:00
|
|
|
style="@style/QuickSettingsText.Icon"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="@dimen/quicksettings_item_height"
|
2019-12-06 03:54:32 +00:00
|
|
|
app:drawableStartCompat="@drawable/ic_notifications"
|
2019-10-16 17:14:40 +00:00
|
|
|
android:text="@string/preference_phone_feature_notification"
|
2019-10-16 17:15:58 +00:00
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/locationLabel"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/notificationStatus"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
tools:visibility="visible" />
|
2019-10-16 17:14:40 +00:00
|
|
|
|
|
|
|
<TextView
|
2019-10-16 17:15:58 +00:00
|
|
|
android:id="@+id/locationStatus"
|
2019-10-16 17:14:40 +00:00
|
|
|
style="@style/QuickSettingsText.PermissionItemEnd"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="@dimen/quicksettings_item_height"
|
2019-10-16 17:15:58 +00:00
|
|
|
android:visibility="gone"
|
2019-10-16 17:14:40 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2019-10-16 17:15:58 +00:00
|
|
|
app:layout_constraintStart_toEndOf="@id/locationLabel"
|
2019-12-17 18:47:21 +00:00
|
|
|
tools:text="@string/preference_option_phone_feature_blocked"
|
2019-10-16 17:15:58 +00:00
|
|
|
tools:visibility="visible" />
|
2019-10-16 17:14:40 +00:00
|
|
|
|
|
|
|
<TextView
|
2019-10-16 17:15:58 +00:00
|
|
|
android:id="@+id/locationLabel"
|
2019-10-16 17:14:40 +00:00
|
|
|
style="@style/QuickSettingsText.Icon"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="@dimen/quicksettings_item_height"
|
2019-12-06 03:54:32 +00:00
|
|
|
app:drawableStartCompat="@drawable/ic_location"
|
2019-10-16 17:14:40 +00:00
|
|
|
android:text="@string/preference_phone_feature_location"
|
2019-10-16 17:15:58 +00:00
|
|
|
android:visibility="gone"
|
2019-10-16 17:14:40 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2019-10-16 17:15:58 +00:00
|
|
|
app:layout_constraintEnd_toStartOf="@id/locationStatus"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
tools:visibility="visible" />
|
2019-10-16 17:14:40 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|