Changes of com.discord v976

This commit is contained in:
root 2019-10-25 03:57:51 +02:00
parent 1977a0256f
commit 4d225716aa
2916 changed files with 32098 additions and 34120 deletions

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textColor="?primary_000" android:layout_marginTop="@dimen/uikit_spacing_large" android:text="@string/premium_guild_guild_features_header" style="@style/UiKit.TextView.H1" />
<TextView android:textColor="?primary_000" android:text="@string/premium_guild_guild_feature_emoji" android:drawableLeft="@drawable/ic_emoji_blue_24dp" android:drawableStart="@drawable/ic_emoji_blue_24dp" style="@style/UiKit.TextView.Perk" />
<TextView android:textColor="?primary_000" android:text="@string/premium_guild_guild_feature_audio_quality" android:drawableLeft="@drawable/ic_headset_24dp" android:drawableStart="@drawable/ic_headset_24dp" style="@style/UiKit.TextView.Perk" />
<TextView android:textColor="?primary_000" android:text="@string/premium_guild_guild_feature_upload_size" android:drawableLeft="@drawable/ic_upload_24dp" android:drawableStart="@drawable/ic_upload_24dp" style="@style/UiKit.TextView.Perk" />
</LinearLayout>

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textColor="?primary_000" android:text="@string/premium_guild_features_customize_guild_mobile" android:drawableLeft="@drawable/ic_star_24dp" android:drawableStart="@drawable/ic_star_24dp" style="@style/UiKit.TextView.Perk" />
<TextView android:textColor="?primary_000" android:text="@string/premium_guild_features_show_support_mobile" android:drawableLeft="@drawable/ic_guild_nitro_24dp" android:drawableStart="@drawable/ic_guild_nitro_24dp" style="@style/UiKit.TextView.Perk" />
<TextView android:textColor="?primary_000" android:text="@string/premium_guild_features_upload_sizes_mobile" android:drawableLeft="@drawable/ic_upload_24dp" android:drawableStart="@drawable/ic_upload_24dp" style="@style/UiKit.TextView.Perk" />
<TextView android:textColor="?primary_000" android:text="@string/premium_guild_features_new_role_mobile" android:drawableLeft="@drawable/ic_role_24dp" android:drawableStart="@drawable/ic_role_24dp" style="@style/UiKit.TextView.Perk" />
</LinearLayout>

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textColor="?primary_000" android:layout_marginTop="@dimen/uikit_spacing_large" android:text="@string/premium_guild_user_features_header" style="@style/UiKit.TextView.H1" />
<TextView android:textColor="?primary_000" android:text="@string/premium_guild_user_feature_member_badge" android:drawableLeft="@drawable/ic_boosted_badge_24dp" android:drawableStart="@drawable/ic_boosted_badge_24dp" style="@style/UiKit.TextView.Perk" />
<TextView android:textColor="?primary_000" android:text="@string/premium_guild_user_feature_profile_badge" android:drawableLeft="@drawable/ic_booster_profile_badge_24dp" android:drawableStart="@drawable/ic_booster_profile_badge_24dp" style="@style/UiKit.TextView.Perk" />
<TextView android:textColor="?primary_000" android:text="@string/premium_guild_user_feature_role" android:drawableLeft="@drawable/ic_role_24dp" android:drawableStart="@drawable/ic_role_24dp" style="@style/UiKit.TextView.Perk" />
</LinearLayout>

View file

@ -20,7 +20,6 @@
</androidx.cardview.widget.CardView>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>
<TextView android:id="@id/boost_confirmation_warning" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/premium_guild_subscribe_confirm_cooldown_warning" style="@style/UiKit.TextView" />
</LinearLayout>
</ScrollView>
<LinearLayout android:id="@id/boost_confirmation_button_container" android:layout_margin="@dimen/uikit_spacing_large" android:layout_alignParentBottom="true" style="@style/UiKit.ViewGroup.LinearLayout">

View file

@ -6,7 +6,7 @@
</com.google.android.material.appbar.AppBarLayout>
<LinearLayout app:layout_behavior="@string/appbar_scrolling_view_behavior" style="@style/UiKit.ViewGroup.LinearLayout">
<com.discord.utilities.simple_pager.SimplePager android:id="@id/settings_billing_view_pager" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.google.android.material.tabs.TabLayout android:layout_width="fill_parent" android:layout_height="wrap_content" app:tabIndicatorColor="@color/primary_100" />
<com.google.android.material.tabs.TabLayout android:background="?toolbarColor" android:layout_width="fill_parent" android:layout_height="wrap_content" app:tabIndicatorColor="@color/primary_100" />
</com.discord.utilities.simple_pager.SimplePager>
</LinearLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View file

@ -10,31 +10,24 @@
<ImageView android:layout_marginBottom="@dimen/uikit_spacing_medium" android:src="@drawable/img_poop_dark" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
<Button android:id="@id/settings_boost_retry" android:layout_width="wrap_content" android:text="@string/retry" style="@style/UiKit.Button.Grey" />
</LinearLayout>
<ScrollView style="@style/UiKit.ViewGroup.ScrollView">
<LinearLayout android:paddingLeft="@dimen/uikit_spacing_xlarge" android:paddingTop="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_xlarge" android:paddingBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
<androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_xxlarge" app:cardBackgroundColor="?primary_630" app:cardCornerRadius="4.0dip">
<com.discord.utilities.view.text.LinkifiedTextView android:textColor="?primary_000" android:id="@id/settings_boost_no_sub_banner" android:padding="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:drawableLeft="@drawable/ic_boosted_badge_24dp" android:drawablePadding="@dimen/uikit_spacing_medium" android:lineSpacingMultiplier="1.0" android:drawableStart="@drawable/ic_boosted_badge_24dp" style="@style/UiKit.TextView" />
</androidx.cardview.widget.CardView>
<FrameLayout style="@style/UiKit.ViewGroup">
<androidx.cardview.widget.CardView android:layout_marginTop="20.0dip" app:cardBackgroundColor="?primary_630" app:cardCornerRadius="4.0dip" style="@style/UiKit.ViewGroup">
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
<ImageView android:id="@id/settings_boost_no_sub_logo" android:background="@drawable/drawable_bg_boost_gradient_top_corners" android:padding="@dimen/uikit_spacing_large" android:src="@drawable/img_logo_discord_nitro" android:scaleType="fitStart" android:importantForAccessibility="no" style="@style/UiKit.ViewGroup" />
<TextView android:id="@id/settings_boost_no_sub_learn_more_text" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:text="@string/premium_guild_features_learn_more_text" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView" />
<Button android:id="@id/settings_boost_no_sub_learn_more" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" android:text="@string/premium_guild_features_learn_more_button" style="@style/UiKit.Button.Grey" />
</LinearLayout>
</androidx.cardview.widget.CardView>
<ImageView android:layout_gravity="end" android:layout_marginRight="@dimen/uikit_spacing_xlarge" android:src="@drawable/img_wumpus_jetpack" android:scaleX="-1.0" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
</FrameLayout>
<TextView android:textColor="?primary_000" android:layout_marginTop="@dimen/uikit_spacing_xxlarge" android:text="@string/premium_guild_features_title" style="@style/UiKit.TextView.H1" />
<com.discord.app.AppTextView android:textSize="@dimen/uikit_textsize_large" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/premium_guild_features_blurb" app:tv_markdown_enabled="true" style="@style/UiKit.TextView" />
<include layout="@layout/view_boost_user_settings_perks" />
<TextView android:layout_marginTop="@dimen/uikit_spacing_large" android:text="@string/premium_guild_features_more" style="@style/UiKit.TextView" />
<androidx.core.widget.NestedScrollView style="@style/UiKit.ViewGroup.NestedScrollView">
<LinearLayout android:paddingLeft="@dimen/uikit_spacing_xlarge" android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingRight="@dimen/uikit_spacing_xlarge" android:paddingBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:text="@string/premium_guild_subscription_subtitle_mobile_1" style="@style/UiKit.TextView" />
<TextView android:id="@id/settings_boost_subtext" android:layout_marginTop="@dimen/uikit_spacing_large" style="@style/UiKit.TextView" />
<androidx.recyclerview.widget.RecyclerView android:id="@id/settings_boost_recycler" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_xlarge" style="@style/UiKit.ViewGroup.RecyclerView" />
</LinearLayout>
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<ImageView android:layout_marginRight="@dimen/uikit_spacing_large" android:src="@drawable/img_server_boost" style="@style/UiKit.ImageView" />
<ImageView android:src="@drawable/img_boost_hands" style="@style/UiKit.ImageView" />
</LinearLayout>
<TextView android:textColor="?primary_000" android:layout_marginTop="@dimen/uikit_spacing_xlarge" android:text="@string/premium_guild_subscription_marketing_header" style="@style/UiKit.TextView.H1" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_200" android:id="@id/settings_boost_marketing_info" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/premium_guild_subscription_marketing_blurb" style="@style/UiKit.TextView" />
<include layout="@layout/view_boost_user_settings_user_perks" />
<include layout="@layout/view_boost_user_settings_guild_perks" />
<TextView android:textColor="?primary_000" android:layout_marginTop="@dimen/uikit_spacing_large" android:text="@string/premium_guild_subscription_marketing_guilds_header_mobile" style="@style/UiKit.TextView.H1" />
<TextView android:textColor="?primary_200" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/premium_guild_subscription_marketing_guilds_empty_blurb_mobile" style="@style/UiKit.TextView" />
</LinearLayout>
</ScrollView>
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:text="@string/premium_guild_subscription_title" style="@style/UiKit.Settings.Item.Header" />
<TextView android:id="@id/settings_boost_subtext" style="@style/UiKit.Settings.Item.SubText" />
<androidx.recyclerview.widget.RecyclerView android:id="@id/settings_boost_recycler" android:layout_margin="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.RecyclerView" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</com.discord.app.AppViewFlipper>
</androidx.coordinatorlayout.widget.CoordinatorLayout>