discord-jadx/app/src/main/res/layout/widget_settings_developer.xml

25 lines
3.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" style="@style/UiKit_ViewGroup_Page">
<com.google.android.material.appbar.AppBarLayout style="@style/AppTheme_AppBarLayout_Flat">
<androidx.appcompat.widget.Toolbar style="@style/AppTheme_Toolbar"/>
</com.google.android.material.appbar.AppBarLayout>
<androidx.core.widget.NestedScrollView style="@style/UiKit_ViewGroup_NestedScrollView_AppBarScrollingViewBehavior">
<LinearLayout android:paddingBottom="@dimen/list_bottom_padding" style="@style/UiKit_ViewGroup_LinearLayout">
<com.discord.views.CheckedSetting android:id="@+id/settings_developer_screenshot_bug_reporting" app:cs_subtext="Enables ability to send a bug report to Discord after you take a screenshot" app:cs_text="Screenshot To Report Bug" app:cs_view_type="2" style="@style/UiKit_CheckedSetting_Themed"/>
<TextView android:text="Experiments" style="@style/UiKit_Settings_Item_Header"/>
<TextView android:text="Not seeing your experiment? Add it to ExperimentRegistry.kt" android:layout_marginStart="16dp" style="@style/UiKit_TextView_Subtext"/>
<androidx.recyclerview.widget.RecyclerView android:id="@+id/developer_settings_experiments" app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" style="@style/UiKit_ViewGroup_RecyclerView"/>
<TextView android:text="Notice cache" style="@style/UiKit_Settings_Item_Header"/>
<com.google.android.material.card.MaterialCardView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="8dp" app:cardBackgroundColor="?attr/colorBackgroundSecondary" app:cardElevation="@dimen/app_elevation" style="@style/res_2131952744_widget_materialcomponents_cardview">
<androidx.recyclerview.widget.RecyclerView android:id="@+id/developer_settings_notices" app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" style="@style/UiKit_ViewGroup_RecyclerView"/>
</com.google.android.material.card.MaterialCardView>
<TextView android:text="Crashes" style="@style/UiKit_Settings_Item_Header"/>
<com.google.android.material.button.MaterialButton android:id="@+id/developer_settings_crash_kotlin" android:layout_marginLeft="8dp" android:layout_marginRight="8dp" android:text="Unhandled UI Thread Exception" style="@style/UiKit_Material_Button"/>
<com.google.android.material.button.MaterialButton android:id="@+id/developer_settings_crash_discord_nonfatal" android:layout_marginLeft="8dp" android:layout_marginRight="8dp" android:text="Non-fatal Exception" style="@style/UiKit_Material_Button"/>
<com.google.android.material.button.MaterialButton android:id="@+id/developer_settings_crash_discord_jnibridge" android:layout_marginLeft="8dp" android:layout_marginRight="8dp" android:text="libdiscord Crash" style="@style/UiKit_Material_Button"/>
<TextView android:id="@+id/textView" android:text="Actions" style="@style/UiKit_Settings_Item_Header"/>
<com.google.android.material.button.MaterialButton android:id="@+id/developer_settings_simulate_gateway_reconnect" android:layout_marginLeft="8dp" android:layout_marginRight="8dp" android:text="Simulate Gateway Reconnect" style="@style/UiKit_Material_Button"/>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>