Changes of com.discord v855
This commit is contained in:
parent
156f9871e5
commit
e6d10f30ec
3968 changed files with 59975 additions and 57646 deletions
17
com.discord/res/layout/view_premium_settings_classic.xml
Normal file
17
com.discord/res/layout/view_premium_settings_classic.xml
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:paddingLeft="@dimen/uikit_spacing_xxlarge" android:paddingTop="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_xxlarge" android:paddingBottom="@dimen/uikit_spacing_xxlarge" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<TextView android:textSize="20.0sp" android:textColor="@color/primary_100" android:text="@string/premium_chat_perks_only_title" style="@style/UiKit.TextView.Semibold" />
|
||||
<LinearLayout android:layout_marginTop="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<ImageView android:src="@drawable/img_wumpus_riding_wheel" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
|
||||
<LinearLayout android:layout_marginLeft="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<ImageView android:src="@drawable/img_logo_nitro_classic" android:contentDescription="@string/premium_tier_1" style="@style/UiKit.ImageView" />
|
||||
<TextView android:textColor="@color/primary_100" android:gravity="center_vertical" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/premium_features_premium_applications" android:drawableLeft="@drawable/ic_close_grey_24dp" android:drawablePadding="@dimen/uikit_spacing_large" style="@style/UiKit.TextView" />
|
||||
<TextView android:textColor="@color/primary_100" android:gravity="center_vertical" android:text="@string/premium_features_chat_perks" android:drawableLeft="@drawable/ic_check_brand_24dp" android:drawablePadding="@dimen/uikit_spacing_large" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_large">
|
||||
<com.discord.views.BoxedButton android:gravity="center" android:id="@id/premium_settings_premium_classic_yearly" android:background="@drawable/button_status_green_500" android:layout_width="0.0dip" android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/premium_settings_premium_classic_monthly" app:layout_constraintTop_toTopOf="parent" app:text_color="@drawable/button_text_color_primary_100" />
|
||||
<Button android:textColor="@drawable/button_text_color_primary_100" android:id="@id/premium_settings_premium_classic_monthly" android:layout_width="0.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="@id/premium_settings_premium_classic_yearly" app:layout_constraintLeft_toRightOf="@id/premium_settings_premium_classic_yearly" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="@id/premium_settings_premium_classic_yearly" style="@style/UiKit.Button.Grey.Fit" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</LinearLayout>
|
8
com.discord/res/layout/view_premium_settings_games.xml
Normal file
8
com.discord/res/layout/view_premium_settings_games.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<TextView android:textSize="20.0sp" android:textColor="@color/primary_100" android:layout_marginLeft="@dimen/uikit_spacing_xxlarge" android:layout_marginRight="@dimen/uikit_spacing_xxlarge" android:text="@string/premium_applications_title_mobile" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textSize="20.0sp" android:textColor="@color/primary_100" android:layout_marginLeft="@dimen/uikit_spacing_xxlarge" android:layout_marginRight="@dimen/uikit_spacing_xxlarge" android:text="@string/premium_applications_subtitle_mobile" style="@style/UiKit.TextView" />
|
||||
<ImageView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_large" android:src="@drawable/img_games_preview" android:adjustViewBounds="true" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
|
||||
<Button android:layout_gravity="center_horizontal" android:id="@id/premium_perks_view_games" android:layout_marginTop="@dimen/uikit_spacing_large" android:text="@string/application_store_home_view_all_applications" style="@style/UiKit.Button.Grey.Fit" />
|
||||
</LinearLayout>
|
14
com.discord/res/layout/view_premium_settings_header.xml
Normal file
14
com.discord/res/layout/view_premium_settings_header.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:padding="@dimen/uikit_spacing_xxlarge" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<LinearLayout android:gravity="center_vertical" android:weightSum="2.0" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<ImageView android:layout_width="0.0dip" android:src="@drawable/img_discord_nitro_logo_left" android:layout_weight="1.0" android:contentDescription="@string/premium_tier_2" style="@style/UiKit.ImageView" />
|
||||
<ImageView android:layout_width="0.0dip" android:src="@drawable/img_wumpus_jetpack" android:layout_weight="1.0" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
|
||||
</LinearLayout>
|
||||
<TextView android:textSize="20.0sp" android:textColor="@color/primary_100" android:text="@string/premium_title_mobile" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="@color/primary_200" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/premium_subtitle_mobile" style="@style/UiKit.TextView" />
|
||||
<androidx.constraintlayout.widget.ConstraintLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_large">
|
||||
<com.discord.views.BoxedButton android:gravity="center" android:id="@id/premium_settings_premium_yearly" android:background="@drawable/button_status_green_500" android:layout_width="0.0dip" android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/premium_settings_premium_monthly" app:layout_constraintTop_toTopOf="parent" app:text_color="@drawable/button_text_color_primary_100" />
|
||||
<Button android:textColor="@drawable/button_text_color_primary_100" android:id="@id/premium_settings_premium_monthly" android:layout_width="0.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="@id/premium_settings_premium_yearly" app:layout_constraintLeft_toRightOf="@id/premium_settings_premium_yearly" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="@id/premium_settings_premium_yearly" style="@style/UiKit.Button.Grey.Fit" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</LinearLayout>
|
17
com.discord/res/layout/view_premium_settings_perks.xml
Normal file
17
com.discord/res/layout/view_premium_settings_perks.xml
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:layout_marginLeft="@dimen/uikit_spacing_xxlarge" android:layout_marginRight="@dimen/uikit_spacing_xxlarge" android:layout_marginBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<TextView android:textSize="20.0sp" android:textColor="@color/primary_100" android:paddingTop="@dimen/uikit_spacing_large" android:paddingBottom="@dimen/uikit_spacing_large" android:text="@string/premium_included" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:text="@string/premium_chat_perks_discriminator_mobile" android:drawableLeft="@drawable/ic_nitro_tag_24dp" android:drawableStart="@drawable/ic_nitro_tag_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
<View android:background="@color/primary_700" style="@style/UiKit.Divider" />
|
||||
<TextView android:text="@string/premium_chat_perks_animated_avatar_and_emoji_mobile" android:drawableLeft="@drawable/ic_nitro_gifs_24dp" android:drawableStart="@drawable/ic_nitro_gifs_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
<View android:background="@color/primary_700" style="@style/UiKit.Divider" />
|
||||
<TextView android:text="@string/premium_chat_perks_custom_emoji_mobile" android:drawableLeft="@drawable/ic_nitro_globalemojis_24dp" android:drawableStart="@drawable/ic_nitro_globalemojis_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
<View android:background="@color/primary_700" style="@style/UiKit.Divider" />
|
||||
<TextView android:id="@id/premium_perks_upload_text" android:text="@string/premium_chat_perks_upload_mobile" android:drawableLeft="@drawable/ic_nitro_boosted_24dp" android:drawableStart="@drawable/ic_nitro_boosted_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
<View android:background="@color/primary_700" style="@style/UiKit.Divider" />
|
||||
<TextView android:text="@string/premium_chat_perks_rep_mobile" android:drawableLeft="@drawable/ic_nitro_rep_24dp" android:drawableStart="@drawable/ic_nitro_rep_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
<View android:background="@color/primary_700" style="@style/UiKit.Divider" />
|
||||
<TextView android:text="@string/premium_chat_perks_screenshare_mobile" android:drawableLeft="@drawable/ic_nitro_highquality_24dp" android:drawableStart="@drawable/ic_nitro_highquality_24dp" style="@style/UiKit.TextView.Perk" />
|
||||
<View android:background="@color/primary_700" style="@style/UiKit.Divider" />
|
||||
</LinearLayout>
|
|
@ -1,10 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:orientation="vertical" android:background="@color/white" android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<com.discord.app.AppTextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="@color/purple_brand" android:id="@id/server_settings_confirm_unban_header" android:background="@drawable/drawable_bg_settings_header" android:paddingLeft="@dimen/settings_option_padding" android:paddingTop="@dimen/settings_option_padding_header_top" android:paddingRight="@dimen/settings_option_padding" android:paddingBottom="@dimen/settings_option_padding" android:layout_width="fill_parent" android:text="@string/unban_user_title" android:textAllCaps="true" style="@style/UiKit.TextView.Bold" />
|
||||
<com.discord.app.AppTextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="@color/grey_channels" android:gravity="center_vertical" android:id="@id/server_settings_confirm_unban_body" android:background="@drawable/drawable_bg_settings_item" android:paddingLeft="@dimen/settings_option_padding" android:paddingTop="32.0dip" android:paddingRight="@dimen/settings_option_padding" android:paddingBottom="32.0dip" android:layout_width="fill_parent" android:text="@string/unban_user_body" android:hint="@string/form_label_server_name" style="@style/UiKit.TextView" />
|
||||
<LinearLayout android:gravity="end" android:background="@color/white_3_alpha_25" android:padding="@dimen/settings_option_padding" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="@color/grey_4" android:gravity="center" android:id="@id/server_settings_confirm_unban_cancel" android:paddingLeft="16.0dip" android:paddingRight="16.0dip" android:layout_height="36.0dip" android:text="@string/cancel" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="@color/white" android:gravity="center" android:id="@id/server_settings_confirm_unban_confirm" android:background="@drawable/drawable_button_red" android:paddingLeft="16.0dip" android:paddingRight="16.0dip" android:layout_height="36.0dip" android:text="@string/unban" style="@style/UiKit.TextView.Semibold" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout style="@style/UiKit.ViewGroup.Page">
|
||||
<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" />
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
19
com.discord/res/layout/widget_settings_premium.xml
Normal file
19
com.discord/res/layout/widget_settings_premium.xml
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?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">
|
||||
<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">
|
||||
<FrameLayout style="@style/UiKit.ViewGroup">
|
||||
<ImageView android:layout_gravity="top" android:background="@drawable/img_nitro_pattern" android:layout_width="fill_parent" android:layout_height="270.0sp" android:importantForAccessibility="no" />
|
||||
<ImageView android:layout_gravity="bottom" android:background="@drawable/img_nitro_classic_pattern" android:layout_width="fill_parent" android:layout_height="wrap_content" android:importantForAccessibility="no" />
|
||||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<include layout="@layout/view_premium_settings_header" />
|
||||
<include layout="@layout/view_premium_settings_perks" />
|
||||
<include layout="@layout/view_premium_settings_games" />
|
||||
<include layout="@layout/view_premium_settings_classic" />
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
Loading…
Add table
Add a link
Reference in a new issue