apkfuckery/com.discord/res/layout/widget_settings_media.xml
2020-11-12 02:11:44 +00:00

35 lines
No EOL
4.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout style="@style/UiKit.ViewGroup.Page"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<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 style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:text="@string/inline_media_label" style="@style/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="switchview" style="@style/UiKit.CheckedSetting.Themed" />
<com.discord.views.CheckedSetting android:id="@id/settings_text_images_attachments_toggle" app:cs_subtext="@string/inline_attachment_media_help" app:cs_text="@string/inline_attachment_media" app:cs_view_type="switchview" style="@style/UiKit.CheckedSetting.Themed" />
<TextView android:text="@string/emoji" style="@style/UiKit.Settings.Item.Header" />
<com.discord.views.CheckedSetting android:id="@id/settings_text_images_allow_animate_emoji_switch" app:cs_subtext="@string/animate_emoji_note" app:cs_text="@string/animate_emoji" app:cs_view_type="switchview" style="@style/UiKit.CheckedSetting.Themed" />
<LinearLayout android:id="@id/settings_text_images_stickers_container" android:visibility="gone" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:text="@string/stickers_auto_play_heading" style="@style/UiKit.Settings.Item.Header" />
<com.discord.views.CheckedSetting android:id="@id/settings_text_images_stickers_always_animate" app:cs_text="@string/stickers_always_animate" app:cs_view_type="radio" style="@style/UiKit.CheckedSetting.Themed" />
<com.discord.views.CheckedSetting android:id="@id/settings_text_images_stickers_animate_on_interaction" app:cs_subtext="@string/stickers_animate_on_interaction_description" app:cs_text="@string/stickers_animate_on_interaction" app:cs_view_type="radio" style="@style/UiKit.CheckedSetting.Themed" />
<com.discord.views.CheckedSetting android:id="@id/settings_text_images_stickers_never_animate" app:cs_text="@string/stickers_never_animate" app:cs_view_type="radio" style="@style/UiKit.CheckedSetting.Themed" />
</LinearLayout>
<LinearLayout android:id="@id/settings_text_images_compression_container" android:visibility="gone" style="@style/UiKit.ViewGroup.LinearLayout">
<View style="@style/UiKit.Settings.Divider" />
<TextView android:text="@string/image_compression" style="@style/UiKit.Settings.Item.Header" />
<com.discord.views.CheckedSetting android:id="@id/settings_text_images_compression_toggle" app:cs_text="@string/image_compression_label" app:cs_view_type="switchview" style="@style/UiKit.CheckedSetting.Themed" />
<com.discord.utilities.view.text.LinkifiedTextView android:id="@id/settings_text_images_compression_toggle_subtext" android:paddingTop="4.0dip" style="@style/UiKit.Settings.Item.SubText" />
</LinearLayout>
<View style="@style/UiKit.Settings.Divider" />
<TextView android:text="@string/render_embeds_label" style="@style/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="switchview" style="@style/UiKit.CheckedSetting.Themed" />
<View style="@style/UiKit.Settings.Divider" />
<TextView android:text="@string/sync" style="@style/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="switchview" style="@style/UiKit.CheckedSetting.Themed" />
<View style="@style/UiKit.Settings.Divider" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>