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

29 lines
3.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 style="@style/res_2131952598_uikit_viewgroup_nestedscrollview_appbarscrollingviewbehavior">
<LinearLayout style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<TextView android:id="@+id/settings_text_images_display_header" android:text="@string/inline_media_label" style="@style/res_2131952494_uikit_settings_item_header"/>
<com.discord.views.CheckedSetting android:id="@+id/settings_text_images_embeds_toggle" app:cs_text="@string/inline_embed_media" app:cs_view_type="2" style="@style/res_2131952404_uikit_checkedsetting_themed"/>
<com.discord.views.CheckedSetting android:id="@+id/attachments_toggle" app:cs_subtext="@string/inline_attachment_media_help" app:cs_text="@string/inline_attachment_media" app:cs_view_type="2" style="@style/res_2131952404_uikit_checkedsetting_themed"/>
<LinearLayout android:id="@+id/settings_text_images_stickers_container" android:visibility="gone" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<TextView android:id="@+id/settings_text_images_stickers_header" android:text="@string/stickers_auto_play_heading" style="@style/res_2131952494_uikit_settings_item_header"/>
<com.discord.views.CheckedSetting android:id="@+id/stickers_suggestions" app:cs_subtext="@string/auto_suggest_stickers_description" app:cs_text="@string/auto_suggest_stickers" app:cs_view_type="2" style="@style/res_2131952404_uikit_checkedsetting_themed"/>
</LinearLayout>
<View style="@style/res_2131952489_uikit_settings_divider"/>
<TextView android:id="@+id/settings_text_images_compression_header" android:text="@string/image_compression" style="@style/res_2131952494_uikit_settings_item_header"/>
<com.discord.views.CheckedSetting android:id="@+id/compression_toggle" app:cs_text="@string/image_compression_label" app:cs_view_type="2" style="@style/res_2131952404_uikit_checkedsetting_themed"/>
<com.discord.utilities.view.text.LinkifiedTextView android:id="@+id/compression_toggle_subtext" android:paddingTop="4dp" style="@style/res_2131952497_uikit_settings_item_subtext"/>
<View style="@style/res_2131952489_uikit_settings_divider"/>
<TextView android:id="@+id/settings_text_images_preview_header" android:text="@string/render_embeds_label" style="@style/res_2131952494_uikit_settings_item_header"/>
<com.discord.views.CheckedSetting android:id="@+id/settings_text_images_links_toggle" app:cs_text="@string/render_embeds" app:cs_view_type="2" style="@style/res_2131952404_uikit_checkedsetting_themed"/>
<View style="@style/res_2131952489_uikit_settings_divider"/>
<TextView android:id="@+id/settings_text_images_sync_header" android:text="@string/sync" style="@style/res_2131952494_uikit_settings_item_header"/>
<com.discord.views.CheckedSetting android:id="@+id/settings_text_images_sync_toggle" app:cs_text="@string/settings_sync" app:cs_view_type="2" style="@style/res_2131952404_uikit_checkedsetting_themed"/>
<View style="@style/res_2131952489_uikit_settings_divider"/>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>