2019-07-24 11:27:29 +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 android:background="?primary_630" style="@style/AppTheme.AppBarLayout">
|
|
|
|
<com.google.android.material.appbar.CollapsingToolbarLayout style="@style/AppTheme.CollapsingToolbarLayout">
|
2019-10-01 14:15:45 +00:00
|
|
|
<com.discord.widgets.user.profile.UserProfileHeaderView android:id="@id/user_settings_profile_header_view" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="?actionBarSize" app:layout_collapseMode="parallax" app:user_profile_header_background_color="?primary_630" />
|
2019-07-24 11:27:29 +00:00
|
|
|
<androidx.appcompat.widget.Toolbar android:background="?primary_630" style="@style/AppTheme.Toolbar" />
|
|
|
|
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<androidx.core.widget.NestedScrollView style="@style/UiKit.ViewGroup.NestedScrollView.AppBarScrollingViewBehavior">
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat style="@style/UiKit.ViewGroup.LinearLayout">
|
|
|
|
<TextView android:text="@string/user_settings" style="@style/UiKit.Settings.Item.Header" />
|
|
|
|
<TextView android:id="@id/settings_account" android:text="@string/user_settings_my_account" android:drawableLeft="?ic_my_account_a60" android:drawableStart="?ic_my_account_a60" style="@style/UiKit.Settings.Item.Icon" />
|
|
|
|
<TextView android:id="@id/settings_privacy" android:text="@string/privacy_and_safety" android:drawableLeft="?ic_privacy_a60" android:drawableStart="?ic_privacy_a60" style="@style/UiKit.Settings.Item.Icon" />
|
|
|
|
<TextView android:id="@id/settings_authorized_apps" android:text="@string/authorized_apps" android:drawableLeft="?ic_authed_apps_a60" android:drawableStart="?ic_authed_apps_a60" style="@style/UiKit.Settings.Item.Icon" />
|
|
|
|
<TextView android:id="@id/settings_connections" android:text="@string/connections" android:drawableLeft="?ic_phonelink_a60" android:drawableStart="?ic_phonelink_a60" style="@style/UiKit.Settings.Item.Icon" />
|
|
|
|
<TextView android:id="@id/settings_billing" android:visibility="gone" android:text="@string/billing" android:drawableLeft="?ic_billing_a60" android:drawableStart="?ic_billing_a60" style="@style/UiKit.Settings.Item.Icon" />
|
|
|
|
<LinearLayout android:id="@id/settings_nitro_settings" style="@style/UiKit.ViewGroup.LinearLayout">
|
|
|
|
<View style="@style/UiKit.Settings.Divider" />
|
2019-08-16 21:39:58 +00:00
|
|
|
<TextView android:text="@string/premium_settings" style="@style/UiKit.Settings.Item.Header" />
|
2019-07-24 11:27:29 +00:00
|
|
|
<TextView android:textColor="@color/brand_500" android:id="@id/settings_nitro" android:drawableLeft="@drawable/ic_nitro_rep" android:drawableStart="@drawable/ic_nitro_rep" style="@style/UiKit.Settings.Item.Icon" />
|
2019-08-16 21:39:58 +00:00
|
|
|
<TextView android:id="@id/settings_nitro_boosting" android:text="@string/premium_guild_subscription_title" android:drawableLeft="?ic_settings_boost_a60" android:drawableStart="?ic_settings_boost_a60" style="@style/UiKit.Settings.Item.Icon" />
|
2019-08-26 23:09:33 +00:00
|
|
|
<TextView android:id="@id/settings_nitro_gifting" android:text="@string/premium_gifting_title" android:drawableLeft="?ic_settings_gifting_a60" android:drawableStart="?ic_settings_gifting_a60" style="@style/UiKit.Settings.Item.Icon" />
|
2019-07-24 11:27:29 +00:00
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/UiKit.Settings.Divider" />
|
|
|
|
<TextView android:text="@string/app_settings" style="@style/UiKit.Settings.Item.Header" />
|
|
|
|
<TextView android:id="@id/settings_voice" android:text="@string/voice_and_video" android:drawableLeft="?ic_voice_settings_a60" android:drawableStart="?ic_voice_settings_a60" style="@style/UiKit.Settings.Item.Icon" />
|
|
|
|
<TextView android:id="@id/settings_notifications" android:text="@string/notifications" android:drawableLeft="?ic_notifications_a60" android:drawableStart="?ic_notifications_a60" style="@style/UiKit.Settings.Item.Icon" />
|
|
|
|
<TextView android:id="@id/settings_game_activity" android:text="@string/game_activity" android:drawableLeft="?ic_games_a60" android:drawableStart="?ic_games_a60" style="@style/UiKit.Settings.Item.Icon" />
|
|
|
|
<TextView android:id="@id/settings_text_images" android:text="@string/text_and_images" android:drawableLeft="?ic_text_image_a60" android:drawableStart="?ic_text_image_a60" style="@style/UiKit.Settings.Item.Icon" />
|
|
|
|
<TextView android:id="@id/settings_appearance" android:text="@string/appearance" android:drawableLeft="?ic_theme_a60" android:drawableStart="?ic_theme_a60" style="@style/UiKit.Settings.Item.Icon" />
|
|
|
|
<TextView android:id="@id/settings_behavior" android:text="@string/form_label_mobile_notifications_behavior" android:drawableLeft="?ic_behavior_a60" android:drawableStart="?ic_behavior_a60" style="@style/UiKit.Settings.Item.Icon" />
|
|
|
|
<TextView android:id="@id/settings_language" android:text="@string/language" android:drawableLeft="?ic_locale_a60" android:drawableStart="?ic_locale_a60" style="@style/UiKit.Settings.Item.Icon" />
|
|
|
|
<View android:id="@id/settings_developer_options_divider" android:visibility="gone" style="@style/UiKit.Settings.Divider" />
|
|
|
|
<TextView android:id="@id/settings_developer_options_header" android:visibility="gone" android:text="@string/developer_options" style="@style/UiKit.Settings.Item.Header" />
|
|
|
|
<TextView android:id="@id/settings_developer_options" android:visibility="gone" android:text="@string/developer_options" android:drawableLeft="?ic_security_a60" android:drawableStart="?ic_security_a60" style="@style/UiKit.Settings.Item.Icon" />
|
|
|
|
<View style="@style/UiKit.Settings.Divider" />
|
|
|
|
<TextView android:id="@id/settings_app_info" style="@style/UiKit.Settings.Item.Header" />
|
|
|
|
<TextView android:id="@id/settings_changelog" android:text="@string/change_log" android:drawableLeft="?ic_info_a60" android:drawableStart="?ic_info_a60" style="@style/UiKit.Settings.Item.Icon" />
|
|
|
|
<TextView android:id="@id/settings_support" android:text="@string/support" android:drawableLeft="?ic_help_a60" android:drawableStart="?ic_help_a60" style="@style/UiKit.Settings.Item.Icon" />
|
|
|
|
<TextView android:id="@id/settings_acknowledgements" android:text="@string/acknowledgements" android:drawableLeft="?ic_info_a60" android:drawableStart="?ic_info_a60" style="@style/UiKit.Settings.Item.Icon" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|