|
|
|
@ -12,6 +12,19 @@
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginBottom="8dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/cameraLabel"
|
|
|
|
|
style="@style/QuickSettingsText.Icon"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="@dimen/quicksettings_item_height"
|
|
|
|
|
app:drawableStartCompat="@drawable/ic_camera"
|
|
|
|
|
android:text="@string/preference_phone_feature_camera"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/microphoneLabel"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/cameraStatus"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/cameraStatus"
|
|
|
|
|
style="@style/QuickSettingsText.PermissionItemEnd"
|
|
|
|
@ -25,15 +38,15 @@
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/cameraLabel"
|
|
|
|
|
android:id="@+id/microphoneLabel"
|
|
|
|
|
style="@style/QuickSettingsText.Icon"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="@dimen/quicksettings_item_height"
|
|
|
|
|
app:drawableStartCompat="@drawable/ic_camera"
|
|
|
|
|
android:text="@string/preference_phone_feature_camera"
|
|
|
|
|
app:drawableStartCompat="@drawable/ic_microphone"
|
|
|
|
|
android:text="@string/preference_phone_feature_microphone"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/microphoneLabel"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/cameraStatus"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/notificationLabel"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/microphoneStatus"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
@ -50,15 +63,15 @@
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/microphoneLabel"
|
|
|
|
|
android:id="@+id/notificationLabel"
|
|
|
|
|
style="@style/QuickSettingsText.Icon"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="@dimen/quicksettings_item_height"
|
|
|
|
|
app:drawableStartCompat="@drawable/ic_microphone"
|
|
|
|
|
android:text="@string/preference_phone_feature_microphone"
|
|
|
|
|
app:drawableStartCompat="@drawable/ic_notifications"
|
|
|
|
|
android:text="@string/preference_phone_feature_notification"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/notificationLabel"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/microphoneStatus"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/locationLabel"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/notificationStatus"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
@ -75,15 +88,15 @@
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/notificationLabel"
|
|
|
|
|
android:id="@+id/locationLabel"
|
|
|
|
|
style="@style/QuickSettingsText.Icon"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="@dimen/quicksettings_item_height"
|
|
|
|
|
app:drawableStartCompat="@drawable/ic_notifications"
|
|
|
|
|
android:text="@string/preference_phone_feature_notification"
|
|
|
|
|
app:drawableStartCompat="@drawable/ic_location"
|
|
|
|
|
android:text="@string/preference_phone_feature_location"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/locationLabel"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/notificationStatus"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/persistentStorageLabel"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/locationStatus"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
@ -93,22 +106,35 @@
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="@dimen/quicksettings_item_height"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/persistentStorageStatus"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/locationLabel"
|
|
|
|
|
tools:text="@string/preference_option_phone_feature_blocked"
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/locationLabel"
|
|
|
|
|
android:id="@+id/persistentStorageLabel"
|
|
|
|
|
style="@style/QuickSettingsText.Icon"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="@dimen/quicksettings_item_height"
|
|
|
|
|
app:drawableStartCompat="@drawable/ic_location"
|
|
|
|
|
android:text="@string/preference_phone_feature_location"
|
|
|
|
|
app:drawableStartCompat="@drawable/ic_storage"
|
|
|
|
|
android:text="@string/preference_phone_feature_persistent_storage"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/locationStatus"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/persistentStorageStatus"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/persistentStorageStatus"
|
|
|
|
|
style="@style/QuickSettingsText.PermissionItemEnd"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="@dimen/quicksettings_item_height"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/persistentStorageLabel"
|
|
|
|
|
tools:text="@string/preference_option_phone_feature_blocked"
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|