discord-jadx/app/src/main/res/layout/widget_server_settings_edit...

48 lines
5.7 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/res_2131952600_uikit_viewgroup_page">
<com.google.android.material.appbar.AppBarLayout style="@style/res_2131951638_apptheme_appbarlayout_flat">
<androidx.appcompat.widget.Toolbar style="@style/res_2131951666_apptheme_toolbar"/>
</com.google.android.material.appbar.AppBarLayout>
<androidx.core.widget.NestedScrollView android:id="@+id/edit_integration_settings_scroll" style="@style/res_2131952598_uikit_viewgroup_nestedscrollview_appbarscrollingviewbehavior">
<LinearLayout style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<View android:layout_width="match_parent" android:layout_height="20dp"/>
<RelativeLayout android:paddingTop="8dp" android:paddingBottom="8dp" android:paddingStart="16dp" android:paddingEnd="0dp" style="@style/res_2131952606_uikit_viewgroup_relativelayout">
<ImageView android:id="@+id/edit_integration_icon" android:layout_centerVertical="true" android:layout_marginEnd="16dp" style="@style/res_2131952448_uikit_imageview"/>
<LinearLayout android:id="@+id/edit_integration_name_container" android:layout_width="wrap_content" android:layout_centerVertical="true" android:layout_toEndOf="@+id/edit_integration_icon" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<TextView android:textSize="@dimen/uikit_textsize_xlarge" android:id="@+id/edit_integration_owner_name" style="@style/res_2131952561_uikit_textview"/>
<TextView android:id="@+id/edit_integration_name" style="@style/res_2131952561_uikit_textview"/>
</LinearLayout>
</RelativeLayout>
<LinearLayout android:id="@+id/edit_member_roles_container" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<TextView android:text="@string/subscriber_information" style="@style/res_2131952494_uikit_settings_item_header"/>
<include android:id="@+id/sync_settings" android:layout_width="match_parent" android:layout_height="wrap_content" layout="@layout/integration_sync_settings"/>
</LinearLayout>
<View style="@style/res_2131952422_uikit_divider"/>
<LinearLayout android:id="@+id/edit_member_administrative_container" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<TextView android:text="@string/form_label_sub_expire_behavior" style="@style/res_2131952494_uikit_settings_item_header"/>
<LinearLayout android:id="@+id/edit_integration_expired_sub_container" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<com.discord.views.CheckedSetting android:id="@+id/edit_integration_expire_radio_remove_role" app:cs_text="@string/remove_synced_role" app:cs_view_type="1" style="@style/res_2131952404_uikit_checkedsetting_themed"/>
<com.discord.views.CheckedSetting android:id="@+id/edit_integration_expire_radio_kick_user" app:cs_text="@string/kick_from_server" app:cs_view_type="1" style="@style/res_2131952404_uikit_checkedsetting_themed"/>
</LinearLayout>
</LinearLayout>
<View style="@style/res_2131952489_uikit_settings_divider"/>
<TextView android:text="@string/form_label_expire_grace_period" style="@style/res_2131952494_uikit_settings_item_header"/>
<LinearLayout android:id="@+id/edit_integration_grace_period_container" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<com.discord.views.CheckedSetting android:id="@+id/edit_integration_grace_period_radio_1_day" app:cs_view_type="1" style="@style/res_2131952404_uikit_checkedsetting_themed"/>
<com.discord.views.CheckedSetting android:id="@+id/edit_integration_grace_period_radio_3_days" app:cs_view_type="1" style="@style/res_2131952404_uikit_checkedsetting_themed"/>
<com.discord.views.CheckedSetting android:id="@+id/edit_integration_grace_period_radio_7_days" app:cs_view_type="1" style="@style/res_2131952404_uikit_checkedsetting_themed"/>
<com.discord.views.CheckedSetting android:id="@+id/edit_integration_grace_period_radio_14_days" app:cs_view_type="1" style="@style/res_2131952404_uikit_checkedsetting_themed"/>
<com.discord.views.CheckedSetting android:id="@+id/edit_integration_grace_period_radio_30_days" app:cs_view_type="1" style="@style/res_2131952404_uikit_checkedsetting_themed"/>
<View style="@style/res_2131952489_uikit_settings_divider"/>
<LinearLayout android:id="@+id/edit_integration_custom_emotes_container" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<TextView android:text="@string/form_label_custom_twitch_emoticon" style="@style/res_2131952494_uikit_settings_item_header"/>
<com.discord.views.CheckedSetting android:id="@+id/edit_integration_custom_emotes_toggle" app:cs_text="@string/enable_twitch_emoji_sync" style="@style/res_2131952404_uikit_checkedsetting_themed"/>
</LinearLayout>
</LinearLayout>
<Space android:layout_width="match_parent" android:layout_height="64dp"/>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
<com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@+id/edit_integration_save" android:contentDescription="@string/save" style="@style/res_2131952121_settings_floatingactionbutton_save"/>
<com.discord.utilities.dimmer.DimmerView android:id="@+id/dimmer_view" style="@style/res_2131952421_uikit_dimmerview"/>
</androidx.coordinatorlayout.widget.CoordinatorLayout>