343 lines
16 KiB
XML
343 lines
16 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="20dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/debug_title"
|
|
android:textAppearance="?attr/textAppearanceHeadline5" />
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
app:cardUseCompatPadding="true"
|
|
app:strokeColor="@color/sbt_card_outline"
|
|
app:strokeWidth="1dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="16dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/debug_section_visualizers"
|
|
android:textAppearance="?attr/textAppearanceSubtitle1"
|
|
android:textAllCaps="true"
|
|
android:letterSpacing="0.03"
|
|
android:textStyle="bold" />
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
android:id="@+id/debug_visualize_notification_container_switch"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:text="@string/debug_visualize_notification_container" />
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
android:id="@+id/debug_visualize_status_container_switch"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/debug_visualize_status_container" />
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
android:id="@+id/debug_visualize_clock_container_switch"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/debug_visualize_clock_container" />
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
android:id="@+id/debug_visualize_chip_container_switch"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/debug_visualize_chip_container" />
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
android:id="@+id/debug_visualize_camera_cutout_switch"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/debug_visualize_camera_cutout" />
|
|
|
|
</LinearLayout>
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
app:cardUseCompatPadding="true"
|
|
app:strokeColor="@color/sbt_card_outline"
|
|
app:strokeWidth="1dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="16dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/debug_section_systemui"
|
|
android:textAppearance="?attr/textAppearanceSubtitle1"
|
|
android:textAllCaps="true"
|
|
android:letterSpacing="0.03"
|
|
android:textStyle="bold" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/debug_restart_systemui_button"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:text="@string/debug_restart_systemui" />
|
|
|
|
</LinearLayout>
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
app:cardUseCompatPadding="true"
|
|
app:strokeColor="@color/sbt_card_outline"
|
|
app:strokeWidth="1dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="16dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/debug_section_camera"
|
|
android:textAppearance="?attr/textAppearanceSubtitle1"
|
|
android:textAllCaps="true"
|
|
android:letterSpacing="0.03"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:id="@+id/debug_camera_current_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:text="@string/debug_camera_current_title"
|
|
android:textAppearance="?attr/textAppearanceSubtitle2"
|
|
android:textAllCaps="true"
|
|
android:letterSpacing="0.03"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:id="@+id/debug_camera_current_identified"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:textAppearance="?attr/textAppearanceBody2" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/debug_camera_current_override_row"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/debug_camera_current_action"
|
|
style="?attr/materialButtonOutlinedStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:minWidth="0dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/debug_camera_current_override"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_weight="1"
|
|
android:textAppearance="?attr/textAppearanceBody2" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/debug_camera_other_section"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
|
|
<TextView
|
|
android:id="@+id/debug_camera_other_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/debug_camera_other_title"
|
|
android:textAppearance="?attr/textAppearanceSubtitle2"
|
|
android:textAllCaps="true"
|
|
android:letterSpacing="0.03"
|
|
android:textStyle="bold" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/debug_camera_other_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:orientation="vertical" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
app:cardUseCompatPadding="true"
|
|
app:strokeColor="@color/sbt_card_outline"
|
|
app:strokeWidth="1dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="16dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/debug_section_logging"
|
|
android:textAppearance="?attr/textAppearanceSubtitle1"
|
|
android:textAllCaps="true"
|
|
android:letterSpacing="0.03"
|
|
android:textStyle="bold" />
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
android:id="@+id/debug_write_logs_switch"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:text="@string/debug_write_logs_label" />
|
|
|
|
</LinearLayout>
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
app:cardUseCompatPadding="true"
|
|
app:strokeColor="@color/sbt_card_outline"
|
|
app:strokeWidth="1dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="16dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/debug_section_notification_icons"
|
|
android:textAppearance="?attr/textAppearanceSubtitle1"
|
|
android:textAllCaps="true"
|
|
android:letterSpacing="0.03"
|
|
android:textStyle="bold" />
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
android:id="@+id/debug_cycle_icons_switch"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:text="@string/debug_cycle_icons_label" />
|
|
|
|
<TextView
|
|
android:id="@+id/debug_cycle_icons_hint"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:text="@string/debug_cycle_icons_hint"
|
|
android:textAppearance="?attr/textAppearanceBody2" />
|
|
|
|
<TextView
|
|
android:id="@+id/debug_count_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:text="@string/debug_count_label"
|
|
android:textAppearance="?attr/textAppearanceSubtitle2" />
|
|
|
|
<TextView
|
|
android:id="@+id/debug_count_value"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:text="0"
|
|
android:textAppearance="?attr/textAppearanceHeadline3" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/btn_minus_10"
|
|
style="?attr/materialButtonOutlinedStyle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="-10" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/btn_minus_1"
|
|
style="?attr/materialButtonOutlinedStyle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_weight="1"
|
|
android:text="-1" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/btn_plus_1"
|
|
style="?attr/materialButtonOutlinedStyle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_weight="1"
|
|
android:text="+1" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/btn_plus_10"
|
|
style="?attr/materialButtonOutlinedStyle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_weight="1"
|
|
android:text="+10" />
|
|
</LinearLayout>
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/btn_reset"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:text="@string/debug_reset" />
|
|
</LinearLayout>
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|