82 lines
3.4 KiB
XML
82 lines
3.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context="im.vector.riotx.features.debug.DebugMenuActivity"
|
|
tools:ignore="HardcodedText">
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:divider="@drawable/linear_divider"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical"
|
|
android:padding="@dimen/layout_horizontal_margin"
|
|
android:showDividers="middle">
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/debug_test_text_view_link"
|
|
style="@style/VectorButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Test linkification" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/debug_test_notification"
|
|
style="@style/VectorButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Test Notification" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/debug_test_material_theme_light"
|
|
style="@style/VectorButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Test Material theme Light" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/debug_test_material_theme_dark"
|
|
style="@style/VectorButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Test Material theme Dark" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/debug_show_sas_emoji"
|
|
style="@style/VectorButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Display all SAS emoji" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/debug_test_crash"
|
|
style="@style/VectorButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Crash the app" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/debug_scan_qr_code"
|
|
style="@style/VectorButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Scan QR-code" />
|
|
|
|
<ImageView
|
|
android:id="@+id/debug_qr_code"
|
|
android:layout_width="200dp"
|
|
android:layout_height="200dp"
|
|
tools:src="@tools:sample/avatars" />
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|