Files
notifications-master/app/src/main/res/layout/fragment_app_visibility.xml
T

82 lines
2.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="@dimen/page_padding">
<TextView
android:id="@+id/app_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?attr/textAppearanceHeadline6"
android:textStyle="bold" />
<TextView
android:id="@+id/package_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?attr/textAppearanceBody2" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:text="Hide by default"
android:textStyle="bold" />
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/hide_unlocked"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Unlocked status bar" />
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/hide_lockscreen"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Collapsed lockscreen" />
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/hide_aod"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Always-on display" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Ordered text exceptions"
android:textStyle="bold" />
<Button
android:id="@+id/add_exception"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Add" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="The first matching expression replaces the defaults above. Drag to reorder."
android:textAppearance="?attr/textAppearanceBody2" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/exceptions"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginTop="8dp"
android:layout_weight="1"
android:clipToPadding="false"
android:paddingBottom="16dp" />
</LinearLayout>