apkfuckery/com.discord/res/layout/widget_settings_language.xml

21 lines
2.4 KiB
XML
Raw Normal View History

2020-11-12 02:11:44 +00:00
<?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>
<ScrollView style="@style/UiKit.ViewGroup.RelativeLayout.AppBarScrollingViewBehavior">
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:textSize="@dimen/uikit_textsize_medium" android:text="@string/language" style="@style/UiKit.Settings.Item.Header" />
<RelativeLayout android:id="@id/settings_language_current" android:padding="16.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textColor="?primary_100" android:text="@string/language" android:layout_toStartOf="@id/settings_language_current_flag" android:layout_alignParentStart="true" style="@style/UiKit.TextView" />
<ImageView android:id="@id/settings_language_current_flag" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_centerVertical="true" android:contentDescription="@string/language_select" android:layout_toStartOf="@id/settings_language_current_text" style="@style/UiKit.ImageView" />
<TextView android:textColor="?primary_100" android:id="@id/settings_language_current_text" android:drawablePadding="16.0dip" android:layout_alignParentEnd="true" app:drawableEndCompat="@drawable/icon_carrot" style="@style/UiKit.TextView" />
</RelativeLayout>
<View style="@style/UiKit.Settings.Divider" />
<TextView android:textSize="@dimen/uikit_textsize_medium" android:text="@string/sync" style="@style/UiKit.Settings.Item.Header" />
<com.discord.views.CheckedSetting android:id="@id/settings_language_sync_check" android:layout_width="fill_parent" android:layout_height="wrap_content" app:cs_text="@string/settings_sync" app:cs_view_type="switchview" style="@style/UiKit.CheckedSetting.Themed" />
<View style="@style/UiKit.Settings.Divider" />
</LinearLayout>
</ScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>