32 lines
No EOL
4.1 KiB
XML
32 lines
No EOL
4.1 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 android:paddingBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
|
<TextView android:text="@string/theme" style="@style/UiKit.Settings.Item.Header" />
|
|
<com.discord.views.CheckedSetting android:id="@id/settings_appearance_theme_light_radio" app:cs_text="@string/theme_light" app:cs_view_type="radio" style="@style/UiKit.CheckedSetting.Themed" />
|
|
<com.discord.views.CheckedSetting android:id="@id/settings_appearance_theme_dark_radio" app:cs_text="@string/theme_dark" app:cs_view_type="radio" style="@style/UiKit.CheckedSetting.Themed" />
|
|
<com.discord.views.CheckedSetting android:id="@id/settings_appearance_theme_pure_evil_radio" android:visibility="gone" app:cs_text="@string/theme_pure_evil_title" app:cs_view_type="radio" 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_appearance_sync_switch" app:cs_text="@string/settings_sync" app:cs_view_type="switchview" style="@style/UiKit.CheckedSetting.Themed" />
|
|
<View style="@style/UiKit.Settings.Divider" />
|
|
<LinearLayout android:id="@id/settings_appearance_font_scaling_container" style="@style/UiKit.ViewGroup.LinearLayout">
|
|
<TextView android:text="@string/accessibility_font_scaling_label" style="@style/UiKit.Settings.Item.Header" />
|
|
<TextView android:id="@id/settings_appearance_font_scale_platform" style="@style/UiKit.Settings.Item.SubText" />
|
|
<RelativeLayout style="@style/UiKit.Settings.Item">
|
|
<TextView android:textSize="12.0dip" android:id="@id/settings_appearance_font_scaling_seekbar_text_left" android:text="Aa" android:layout_alignParentLeft="true" android:layout_centerVertical="true" android:layout_alignParentStart="true" style="@style/UiKit.TextView" />
|
|
<SeekBar android:id="@id/settings_appearance_font_scaling_seekbar" android:layout_marginLeft="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/uikit_spacing_small" android:max="70" android:layout_toLeftOf="@id/settings_appearance_font_scaling_seekbar_text_right" android:layout_toRightOf="@id/settings_appearance_font_scaling_seekbar_text_left" android:layout_centerVertical="true" style="@style/UiKit.SeekBar" />
|
|
<TextView android:textSize="21.0dip" android:id="@id/settings_appearance_font_scaling_seekbar_text_right" android:text="Aa" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
|
</RelativeLayout>
|
|
<FrameLayout android:background="?chat_embed_bg" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_large" android:layout_margin="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup">
|
|
<include layout="@layout/widget_chat_list_adapter_item_text" />
|
|
</FrameLayout>
|
|
<TextView android:layout_gravity="left" android:id="@id/settings_appearance_font_scaling_reset" android:layout_marginLeft="@dimen/uikit_spacing_large" android:text="@string/reset" style="@style/UiKit.TextView.Link" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |