Changes of com.discord v1279

This commit is contained in:
root 2020-09-23 03:12:49 +00:00
parent fdf15d2860
commit d85ec4ac24
7875 changed files with 109513 additions and 82396 deletions

View file

@ -1,3 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?colorInteractiveActive" android:gravity="center_vertical" android:id="@id/active_subscription_payment_method_spinner_item_text" android:padding="8.0dip" android:drawablePadding="8.0dip" style="@style/UiKit.TextView"
xmlns:android="http://schemas.android.com/apk/res/android" />

View file

@ -4,12 +4,8 @@
<TextView android:background="?colorBackgroundPrimary" android:text="@string/billing_step_payment" style="@style/UiKit.Settings.Item.Header" />
<TextView android:textColor="?colorHeaderPrimary" android:paddingLeft="16.0dip" android:paddingTop="16.0dip" android:paddingRight="16.0dip" android:paddingBottom="4.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/premium_settings_billing_info" style="@style/UiKit.TextView.Semibold" />
<TextView android:textColor="?colorTextNormal" android:id="@id/premium_settings_billing_information" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="16.0dip" style="@style/UiKit.TextView" />
<TextView android:textColor="?colorTextLink" android:id="@id/premium_settings_google_play_manage" android:layout_width="fill_parent" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="16.0dip" android:text="@string/billing_manage_on_google_play" style="@style/UiKit.TextView" />
<View android:id="@id/premium_settings_billing_divider" android:background="?colorBackgroundPrimary" android:layout_height="1.0dip" android:layout_marginBottom="16.0dip" style="@style/UiKit.Divider" />
<com.google.android.material.button.MaterialButton android:id="@id/active_subscriptions_bottom_button" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="16.0dip" style="@style/UiKit.Material.Button.Secondary" />
<LinearLayout android:id="@id/active_subscription_spinner_container" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?colorHeaderPrimary" android:id="@id/active_subscription_spinner_title" android:layout_marginBottom="8.0dip" android:text="@string/billing_pay_for_it_with" android:layout_marginStart="16.0dip" style="@style/UiKit.TextView.Semibold" />
<Spinner android:id="@id/active_subscription_spinner" android:background="?bg_payment_method_spinner_closed" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:popupBackground="?bg_payment_method_spinner_dropdown" />
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/status_red_500" android:id="@id/active_subscription_error_text" android:visibility="gone" android:layout_marginLeft="16.0dip" android:layout_marginTop="8.0dip" android:layout_marginRight="16.0dip" style="@style/UiKit.TextView" />
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?colorTextMuted" android:layout_marginLeft="16.0dip" android:layout_marginTop="8.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="16.0dip" android:text="@string/billing_applies_to_all_subscriptions" style="@style/UiKit.TextView" />
</LinearLayout>
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/status_red_500" android:id="@id/active_subscription_error_text" android:visibility="gone" android:layout_margin="16.0dip" style="@style/UiKit.TextView" />
</LinearLayout>

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:clipChildren="false" style="@style/UiKit.ViewGroup.Page.LinearLayout"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_marginBottom="32.0dip" style="@style/UiKit.ViewGroup.RelativeLayout">
<ImageView android:id="@id/premium_activated_header_background" android:background="@drawable/bg_premium_subscription_header" android:layout_height="100.0dip" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
<ImageView android:id="@id/premium_activated_logo" android:layout_marginTop="16.0dip" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:importantForAccessibility="no" android:layout_marginStart="16.0dip" style="@style/UiKit.ImageView" />
<ImageView android:id="@id/premium_activated_wumpus" android:layout_centerInParent="true" android:translationX="-15.0dip" android:translationY="8.0dip" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
</RelativeLayout>
<ImageView android:layout_gravity="center_horizontal" android:id="@id/premium_activated_title" android:layout_height="40.0dip" android:layout_marginLeft="24.0dip" android:layout_marginRight="24.0dip" android:layout_marginBottom="32.0dip" android:src="@drawable/img_premium_activated_tier_2" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
<TextView android:gravity="center" android:id="@id/premium_activated_description" android:layout_width="fill_parent" android:layout_marginLeft="24.0dip" android:layout_marginRight="24.0dip" android:layout_marginBottom="32.0dip" style="@style/UiKit.TextView" />
<com.google.android.material.button.MaterialButton android:id="@id/premium_activated_confirm" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="24.0dip" android:layout_marginRight="24.0dip" android:layout_marginBottom="32.0dip" android:text="@string/premium_upgrade_done_button" style="@style/UiKit.Material.Button" />
</LinearLayout>

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:clipChildren="false" style="@style/UiKit.ViewGroup.Page.LinearLayout"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_marginBottom="32.0dip" style="@style/UiKit.ViewGroup.RelativeLayout">
<ImageView android:background="@drawable/bg_premium_bundle_header" android:layout_height="100.0dip" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
<ImageView android:layout_marginTop="16.0dip" android:src="@drawable/img_logo_discord_nitro_and_boost" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:importantForAccessibility="no" android:layout_marginStart="16.0dip" style="@style/UiKit.ImageView" />
<ImageView android:layout_height="90.0dip" android:src="@drawable/img_premium_and_premium_guild_subscription_header" android:layout_centerInParent="true" android:translationX="-15.0dip" android:translationY="16.0dip" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
</RelativeLayout>
<ImageView android:layout_gravity="center_horizontal" android:layout_height="40.0dip" android:layout_marginLeft="24.0dip" android:layout_marginRight="24.0dip" android:layout_marginBottom="32.0dip" android:src="@drawable/img_plan_activated" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
<TextView android:gravity="center" android:id="@id/premium_and_premium_guild_activated_text" android:layout_width="fill_parent" android:layout_marginLeft="24.0dip" android:layout_marginRight="24.0dip" android:layout_marginBottom="32.0dip" style="@style/UiKit.TextView" />
<com.google.android.material.button.MaterialButton android:id="@id/premium_activated_confirm" android:layout_marginLeft="24.0dip" android:layout_marginRight="24.0dip" android:layout_marginBottom="32.0dip" android:text="@string/premium_upgrade_done_button" style="@style/UiKit.Material.Button" />
</LinearLayout>

View file

@ -5,8 +5,5 @@
<ImageView android:layout_gravity="center_horizontal" android:layout_marginLeft="8.0dip" android:layout_marginTop="24.0dip" android:layout_marginRight="8.0dip" android:src="@drawable/img_boost_activated" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
<TextView android:gravity="center_horizontal" android:layout_gravity="center_horizontal" android:id="@id/premium_guild_subscription_activated_body1" android:layout_marginLeft="16.0dip" android:layout_marginTop="24.0dip" android:layout_marginRight="16.0dip" style="@style/UiKit.TextView" />
<TextView android:gravity="center_horizontal" android:layout_gravity="center_horizontal" android:id="@id/premium_guild_subscription_activated_body2" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="24.0dip" style="@style/UiKit.TextView" />
<View style="@style/UiKit.Settings.Divider" />
<LinearLayout style="@style/UiKit.Dialog.ButtonContainer">
<com.google.android.material.button.MaterialButton android:id="@id/premium_guild_subscription_activated_ok" android:text="@string/guild_subscription_purchase_modal_activated_close_button" android:layout_marginStart="8.0dip" style="@style/UiKit.Material.Button.Green.Fit" />
</LinearLayout>
<com.google.android.material.button.MaterialButton android:id="@id/premium_guild_subscription_activated_ok" android:layout_marginLeft="24.0dip" android:layout_marginRight="24.0dip" android:layout_marginBottom="32.0dip" android:text="@string/guild_subscription_purchase_modal_activated_close_button" style="@style/UiKit.Material.Button" />
</LinearLayout>

View file

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout style="@style/UiKit.ViewGroup.Page"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<ImageView android:id="@id/premium_upsell_close" android:padding="16.0dip" android:src="@drawable/ic_close_white_18dp" android:layout_alignParentTop="true" android:contentDescription="@string/close_window" android:layout_alignParentEnd="true" style="@style/UiKit.ImageView.Clickable" />
<LinearLayout android:layout_marginLeft="24.0dip" android:layout_marginRight="24.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<ImageView android:layout_gravity="center" android:layout_width="fill_parent" android:layout_marginTop="32.0dip" android:layout_marginBottom="16.0dip" android:src="@drawable/img_premium_guild_subscription_purchase_header_tier_2" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:gravity="center" android:id="@id/premium_upsell_description" android:layout_marginBottom="16.0dip" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView" />
<androidx.cardview.widget.CardView android:background="@color/transparent" android:layout_marginBottom="16.0dip" app:cardCornerRadius="8.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<LinearLayout android:background="?colorBackgroundSecondary" android:paddingLeft="16.0dip" android:paddingTop="8.0dip" android:paddingRight="16.0dip" android:paddingBottom="8.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:textColor="?colorTextNormal" android:id="@id/premium_upsell_server_perk" android:layout_width="fill_parent" app:drawableStartCompat="@drawable/ic_boosted_badge_24dp" style="@style/UiKit.TextView.Perk.Small" />
<View android:background="?colorBackgroundPrimary" android:layout_height="1.0dip" style="@style/UiKit.Divider" />
<TextView android:layout_width="fill_parent" android:text="@string/premium_upsell_feature_chat_perks_mobile" app:drawableStartCompat="@drawable/ic_emoji_blue_24dp" style="@style/UiKit.TextView.Perk.Small" />
<View android:background="?colorBackgroundPrimary" android:layout_height="1.0dip" style="@style/UiKit.Divider" />
<TextView android:layout_width="fill_parent" android:text="@string/premium_upsell_feature_stream" app:drawableStartCompat="@drawable/ic_nitro_perk_stream_24dp" app:drawableTint="?primary_300" style="@style/UiKit.TextView.Perk.Small" />
<View android:background="?colorBackgroundPrimary" android:layout_height="1.0dip" style="@style/UiKit.Divider" />
<TextView android:layout_width="fill_parent" android:text="@string/premium_upsell_feature_upload" app:drawableStartCompat="@drawable/ic_upload_24dp" app:drawableTint="#fffed648" style="@style/UiKit.TextView.Perk.Small" />
</LinearLayout>
</androidx.cardview.widget.CardView>
<LinearLayout android:layout_marginBottom="32.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<com.google.android.material.button.MaterialButton android:id="@id/upgrade_button" android:layout_marginBottom="16.0dip" android:text="@string/premium_upsell_upgrade" style="@style/UiKit.Dialog.Button" />
<TextView android:id="@id/continue_button" android:text="@string/premium_upsell_continue_to_boosts" style="@style/UiKit.Dialog.TextView.Dismiss" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout style="@style/UiKit.ViewGroup.Page.LinearLayout"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:layout_gravity="center" android:id="@id/premium_upsell_header" android:layout_marginTop="32.0dip" android:layout_marginBottom="32.0dip" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
<TextView android:textSize="@dimen/uikit_textsize_xxlarge" android:gravity="center" android:id="@id/premium_upsell_yearly_title" android:layout_width="fill_parent" android:layout_marginLeft="24.0dip" android:layout_marginRight="24.0dip" android:layout_marginBottom="8.0dip" style="@style/UiKit.TextView.H1.Bold" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:gravity="center" android:id="@id/premium_upsell_yearly_description" android:layout_width="fill_parent" android:layout_marginLeft="24.0dip" android:layout_marginRight="24.0dip" android:layout_marginBottom="32.0dip" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView" />
<LinearLayout android:layout_marginBottom="32.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<com.google.android.material.button.MaterialButton android:id="@id/purchase_premium_yearly" android:layout_marginLeft="24.0dip" android:layout_marginRight="24.0dip" android:layout_marginBottom="16.0dip" android:backgroundTint="@color/status_green" style="@style/UiKit.Dialog.Button" />
<TextView android:id="@id/purchase_premium_monthly" android:layout_marginLeft="24.0dip" android:layout_marginRight="24.0dip" android:text="@string/premium_upsell_continue_to_monthly" style="@style/UiKit.Dialog.TextView.Dismiss" />
</LinearLayout>
</LinearLayout>

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout style="@style/UiKit.ViewGroup"
xmlns:android="http://schemas.android.com/apk/res/android">
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<ImageView android:id="@id/active_subscription_header_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="fitXY" android:adjustViewBounds="true" android:importantForAccessibility="no" />
<ProgressBar android:theme="@style/UiKit.ProgressBar.White" android:layout_gravity="end|center|top" android:id="@id/active_subscription_progress" android:layout_width="24.0dip" android:layout_height="24.0dip" android:layout_marginTop="8.0dip" android:layout_marginEnd="8.0dip" />
<LinearLayout android:padding="16.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
@ -9,9 +9,10 @@
<ImageView android:layout_gravity="center_vertical" android:id="@id/active_subscription_header_logo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="fitStart" android:adjustViewBounds="true" android:maxHeight="40.0dip" />
</LinearLayout>
<TextView android:textColor="@color/white" android:id="@id/active_subscription_header_text" android:layout_marginBottom="8.0dip" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView" />
<LinearLayout android:gravity="center_vertical" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<com.google.android.flexbox.FlexboxLayout android:gravity="center_vertical" app:flexWrap="wrap" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<com.google.android.material.button.MaterialButton android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/uikit_btn_bg_color_selector_brand" android:id="@id/active_subscription_top_button" android:layout_width="wrap_content" android:minHeight="40.0dip" android:layout_marginEnd="16.0dip" style="@style/UiKit.Material.Button.White" />
<com.google.android.material.button.MaterialButton android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/uikit_btn_bg_color_selector_brand" android:id="@id/active_subscription_manage_premium_guild_button" android:layout_width="wrap_content" android:minHeight="40.0dip" android:text="@string/premium_guild_perks_modal_manage_your_subscriptions" android:layout_marginEnd="16.0dip" style="@style/UiKit.Material.Button.White" />
<TextView android:textColor="@color/white" android:id="@id/active_subscription_cancel_button" android:background="?selectableItemBackground" android:padding="8.0dip" android:text="@string/cancel" android:textAllCaps="true" style="@style/UiKit.TextView.Semibold" />
</LinearLayout>
</com.google.android.flexbox.FlexboxLayout>
</LinearLayout>
</FrameLayout>

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<merge android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.google.android.material.button.MaterialButton android:id="@id/button_boxed_button" android:focusable="false" android:clickable="false" android:layout_width="fill_parent" style="@style/UiKit.Material.Button" />
<LinearLayout android:gravity="center" android:layout_gravity="center" android:translationZ="8.0dip" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<TextView android:textColor="@color/primary_100" android:id="@id/button_text" android:paddingLeft="16.0dip" android:textAllCaps="true" style="@style/UiKit.TextView.Semibold" />
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/primary_100" android:id="@id/button_boxed_text" android:background="@drawable/bg_boxed_button_outline" android:paddingLeft="4.0dip" android:paddingTop="2.0dip" android:paddingRight="4.0dip" android:paddingBottom="2.0dip" android:layout_marginLeft="8.0dip" android:layout_marginTop="4.0dip" android:layout_marginBottom="4.0dip" android:textAllCaps="true" style="@style/UiKit.TextView" />
</LinearLayout>
</merge>

View file

@ -4,6 +4,5 @@
<ImageView android:layout_gravity="center_vertical" android:layout_width="88.0dip" android:layout_height="40.0dip" android:src="@drawable/img_no_gifts" android:importantForAccessibility="no" android:layout_marginEnd="8.0dip" />
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_000" android:text="@string/gift_inventory_no_gifts" style="@style/UiKit.TextView.Semibold" />
<TextView android:layout_marginTop="8.0dip" android:text="@string/gift_inventory_no_gifts_subtext_mobile" style="@style/UiKit.TextView" />
</LinearLayout>
</LinearLayout>

View file

@ -9,7 +9,5 @@
<TextView android:textColor="?primary_000" android:layout_marginTop="16.0dip" android:text="@string/premium_features_chat_perks" android:drawablePadding="16.0dip" app:drawableStartCompat="@drawable/ic_check_brand_24dp" style="@style/UiKit.TextView" />
<TextView android:textColor="?primary_000" android:id="@id/premium_settings_nitro_classic_boost_discount" android:layout_marginTop="8.0dip" android:drawablePadding="16.0dip" app:drawableStartCompat="@drawable/ic_check_brand_24dp" style="@style/UiKit.TextView" />
<TextView android:textColor="?primary_000" android:id="@id/premium_settings_nitro_classic_boost_count" android:layout_marginTop="8.0dip" android:drawablePadding="16.0dip" app:drawableStartCompat="@drawable/ic_clear_primary_300_24dp" style="@style/UiKit.TextView" />
<com.discord.views.BoxedButton android:gravity="center_horizontal" android:id="@id/premium_settings_premium_classic_yearly" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="8.0dip" app:background_color="@color/status_green_500" />
<com.google.android.material.button.MaterialButton android:id="@id/premium_settings_premium_classic_monthly" style="@style/UiKit.Material.Button.Secondary" />
<TextView android:textColor="?primary_000" android:layout_gravity="center_horizontal" android:id="@id/premium_settings_premium_classic_gift" android:background="?selectableItemBackground" android:paddingLeft="8.0dip" android:paddingTop="4.0dip" android:paddingRight="8.0dip" android:paddingBottom="4.0dip" android:focusable="true" android:clickable="true" android:layout_marginTop="8.0dip" android:text="@string/premium_gift_send" android:textAllCaps="true" style="@style/UiKit.TextView.Semibold" />
<com.google.android.material.button.MaterialButton android:id="@id/premium_settings_premium_classic" android:layout_marginTop="16.0dip" app:icon="@drawable/ic_nitro_badge_white" app:iconGravity="textStart" app:iconSize="@dimen/uikit_textsize_large" style="@style/UiKit.Material.Button.Secondary" />
</LinearLayout>

View file

@ -7,7 +7,5 @@
</LinearLayout>
<TextView android:textSize="@dimen/uikit_textsize_xlarge" android:textColor="?primary_000" android:layout_marginTop="16.0dip" android:text="@string/premium_tier_2_title" style="@style/UiKit.TextView.Semibold" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_200" android:layout_marginTop="8.0dip" android:text="@string/premium_tier_2_subtitle" style="@style/UiKit.TextView" />
<com.discord.views.BoxedButton android:gravity="center_horizontal" android:id="@id/premium_settings_premium_yearly" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="16.0dip" app:background_color="@color/status_green_500" app:boxed_text="-16%" />
<com.google.android.material.button.MaterialButton android:id="@id/premium_settings_premium_monthly" style="@style/UiKit.Material.Button.Secondary" />
<TextView android:textColor="?primary_000" android:layout_gravity="center_horizontal" android:id="@id/premium_settings_premium_gift" android:background="?selectableItemBackground" android:paddingLeft="8.0dip" android:paddingTop="4.0dip" android:paddingRight="8.0dip" android:paddingBottom="4.0dip" android:focusable="true" android:clickable="true" android:layout_marginTop="8.0dip" android:text="@string/premium_gift_send" android:textAllCaps="true" style="@style/UiKit.TextView.Semibold" />
<com.google.android.material.button.MaterialButton android:id="@id/premium_settings_premium" android:layout_marginTop="16.0dip" app:icon="@drawable/ic_nitro_badge_white" app:iconGravity="textStart" app:iconSize="@dimen/uikit_textsize_large" style="@style/UiKit.Material.Button.Green" />
</LinearLayout>

View file

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout style="@style/UiKit.ViewGroup"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<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:background="@drawable/drawable_bg_nitro_gradient_top_corners" android:padding="16.0dip" android:src="@drawable/img_logo_discord_nitro" android:scaleType="fitStart" android:importantForAccessibility="no" style="@style/UiKit.ViewGroup" />
<com.discord.utilities.view.text.LinkifiedTextView android:id="@id/settings_gifting_nitro_learn_more" android:layout_marginLeft="16.0dip" android:layout_marginTop="16.0dip" android:layout_marginRight="16.0dip" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView" />
<com.discord.views.BoxedButton android:gravity="center" android:id="@id/settings_gifting_nitro_yearly" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:layout_marginTop="8.0dip" android:layout_marginRight="16.0dip" app:background_color="@color/status_green_500" app:boxed_text="-16%" />
<com.google.android.material.button.MaterialButton android:id="@id/settings_gifting_nitro_monthly" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="16.0dip" style="@style/UiKit.Material.Button.Secondary" />
</LinearLayout>
</androidx.cardview.widget.CardView>
<ImageView android:layout_gravity="end" android:src="@drawable/img_wumpus_jetpack" android:scaleX="-1.0" android:importantForAccessibility="no" android:layout_marginEnd="24.0dip" android:elevation="6.0dip" android:outlineProvider="none" style="@style/UiKit.ImageView" />
</FrameLayout>

View file

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_marginTop="16.0dip" style="@style/UiKit.ViewGroup"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<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:background="@drawable/drawable_bg_nitro_classic_gradient_top_corners" android:padding="16.0dip" android:src="@drawable/img_logo_discord_nitro_classic" android:scaleType="fitStart" android:importantForAccessibility="no" style="@style/UiKit.ViewGroup" />
<com.discord.utilities.view.text.LinkifiedTextView android:id="@id/settings_gifting_nitro_classic_learn_more" android:layout_marginLeft="16.0dip" android:layout_marginTop="16.0dip" android:layout_marginRight="16.0dip" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView" />
<com.discord.views.BoxedButton android:gravity="center" android:id="@id/settings_gifting_nitro_classic_yearly" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:layout_marginTop="8.0dip" android:layout_marginRight="16.0dip" app:background_color="@color/status_green_500" app:boxed_text="-16%" />
<com.google.android.material.button.MaterialButton android:id="@id/settings_gifting_nitro_classic_monthly" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="16.0dip" style="@style/UiKit.Material.Button.Secondary" />
</LinearLayout>
</androidx.cardview.widget.CardView>
<ImageView android:layout_gravity="end" android:src="@drawable/img_wumpus_riding_wheel" android:importantForAccessibility="no" android:layout_marginEnd="24.0dip" android:elevation="6.0dip" android:outlineProvider="none" style="@style/UiKit.ImageView" />
</FrameLayout>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:background="?img_gifting_pattern_bg" android:minWidth="260.0dip" style="@style/UiKit.ViewGroup.Page.LinearLayout"
<LinearLayout android:minWidth="260.0dip" style="@style/UiKit.ViewGroup.Page.LinearLayout"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.discord.app.AppViewFlipper android:id="@id/accept_gift_flipper" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" />
@ -9,6 +9,10 @@
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/accept_gift_body_image" android:layout_margin="16.0dip" style="@style/Icon.Game" />
<TextView android:gravity="center_horizontal" android:id="@id/accept_gift_header" style="@style/UiKit.TextView.H1.Bold" />
<TextView android:gravity="center_horizontal" android:id="@id/accept_gift_body_text" android:layout_marginTop="8.0dip" style="@style/UiKit.TextView" />
<LinearLayout android:id="@id/accept_gift_disclaimer_container" style="@style/UiKit.ViewGroup.LinearLayout">
<View android:layout_marginTop="12.0dip" android:layout_marginBottom="12.0dip" style="@style/UiKit.Divider" />
<com.discord.utilities.view.text.LinkifiedTextView android:textSize="@dimen/uikit_textsize_small" android:gravity="center_horizontal" android:id="@id/accept_gift_disclaimer_text" style="@style/UiKit.TextView" />
</LinearLayout>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="16.0dip">

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout style="@style/UiKit.ViewGroup.CoordinatorLayout.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 android:background="?colorBackgroundSecondary" app:navigationIcon="?ic_action_bar_back" app:title="@string/premium_choose_plan_title" style="@style/AppTheme.Toolbar" />
</com.google.android.material.appbar.AppBarLayout>
<com.discord.app.AppViewFlipper android:id="@id/settings_gifting_flipper" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.AppViewFlipper.InCoordinatorLayout">
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
<LinearLayout android:gravity="center" android:background="?colorBackgroundSecondary" android:layout_marginBottom="8.0dip" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<com.google.android.material.button.MaterialButton android:textColor="?colorTextMuted" android:id="@id/premium_plans_button" android:text="@string/premium" android:layout_weight="1.0" style="@style/UiKit.Material.Button.Transparent" />
<com.google.android.material.button.MaterialButton android:textColor="?colorTextMuted" android:id="@id/premium_and_premium_guild_plans_button" android:text="@string/premium_and_premium_guild_subscription" android:layout_weight="1.0" style="@style/UiKit.Material.Button.Transparent" />
<com.google.android.material.button.MaterialButton android:textColor="?colorTextMuted" android:id="@id/premium_guild_plans_button" android:text="@string/premium_guild_subscription" android:layout_weight="1.0" style="@style/UiKit.Material.Button.Transparent" />
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView android:id="@id/choose_plan_recycler" android:background="?colorBackgroundPrimary" android:scrollbars="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.RecyclerView" />
</LinearLayout>
</com.discord.app.AppViewFlipper>
<com.discord.utilities.dimmer.DimmerView style="@style/UiKit.DimmerView" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="16.0dip" android:paddingRight="16.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?colorHeaderSecondary" android:id="@id/select_subscription_header_text" android:layout_marginTop="8.0dip" android:layout_marginBottom="8.0dip" android:text="@string/billing_switch_plan_current_plan" android:singleLine="true" style="@style/UiKit.TextView.Bold" />
</FrameLayout>

View file

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<View android:layout_height="1.0dip" android:layout_marginLeft="16.0dip" android:layout_marginTop="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="8.0dip" style="@style/UiKit.Divider"
xmlns:android="http://schemas.android.com/apk/res/android" />

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="16.0dip" android:paddingRight="16.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textAppearance="@style/UiKit.TextAppearance.Bold" android:textSize="@dimen/uikit_textsize_xxlarge" android:textColor="?colorHeaderPrimary" android:id="@id/select_subscription_header_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="8.0dip" android:layout_marginBottom="8.0dip" android:singleLine="true" />
</FrameLayout>

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView android:id="@id/plan_item_container" android:background="?colorBackgroundPrimary" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="8.0dip" android:minHeight="56.0dip" app:cardBackgroundColor="?colorBackgroundSecondary" app:cardCornerRadius="8.0dip"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<ImageView android:id="@id/plan_item_border" android:background="?colorBackgroundSecondary" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<com.google.android.material.card.MaterialCardView android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_margin="1.0dip" app:cardBackgroundColor="?colorBackgroundSecondary" app:cardCornerRadius="8.0dip" app:cardElevation="0.0dip" app:cardForegroundColor="#00000000">
<LinearLayout android:gravity="center_vertical" android:layout_gravity="center_vertical" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<ImageView android:id="@id/plan_item_icon" android:paddingRight="8.0dip" android:layout_width="32.0dip" android:layout_height="32.0dip" android:src="@drawable/ic_plan_premium_and_premium_guild_13" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
<LinearLayout android:gravity="center_vertical" android:layout_width="0.0dip" android:layout_weight="1.0" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?colorHeaderPrimary" android:id="@id/plan_item_name" style="@style/UiKit.TextView.Semibold" />
<TextView android:textColor="?colorHeaderSecondary" android:id="@id/plan_item_current_plan" android:text="@string/premium_current_active_subscription" style="@style/UiKit.TextView" />
</LinearLayout>
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?colorHeaderPrimary" android:gravity="center_vertical" android:id="@id/plan_item_price" app:drawableEndCompat="?ic_navigate_next" style="@style/UiKit.TextView.Semibold" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
</com.google.android.material.card.MaterialCardView>

View file

@ -16,7 +16,6 @@
<TextView android:gravity="center_horizontal" android:layout_gravity="center_horizontal" android:layout_marginLeft="16.0dip" android:layout_marginTop="8.0dip" android:layout_marginRight="16.0dip" android:text="@string/premium_guild_perks_modal_blurb_mobile" style="@style/UiKit.TextView" />
<com.discord.utilities.view.text.LinkifiedTextView android:gravity="center_horizontal" android:layout_gravity="center_horizontal" android:id="@id/boost_status_learn_more" android:layout_marginLeft="16.0dip" android:layout_marginTop="8.0dip" android:layout_marginRight="16.0dip" style="@style/UiKit.TextView" />
<com.google.android.material.button.MaterialButton android:id="@id/boost_status_subscribe_button" android:layout_width="fill_parent" android:layout_marginLeft="16.0dip" android:layout_marginTop="32.0dip" android:layout_marginRight="16.0dip" android:text="@string/premium_guild_perks_modal_button_subscribe_this_server" style="@style/UiKit.Material.Button" />
<com.google.android.material.button.MaterialButton android:id="@id/boost_status_gift_button" android:layout_width="fill_parent" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:text="@string/premium_guild_perks_modal_button_gift_premium" app:icon="@drawable/ic_gift_white_16dp" app:iconGravity="textStart" app:iconPadding="8.0dip" style="@style/UiKit.Material.Button.Secondary" />
<com.discord.utilities.view.text.LinkifiedTextView android:textColor="?colorTextNormal" android:gravity="center_horizontal" android:layout_gravity="center_horizontal" android:id="@id/boost_status_protip" android:layout_marginLeft="16.0dip" android:layout_marginTop="8.0dip" android:layout_marginRight="16.0dip" style="@style/UiKit.TextView" />
<include android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:layout_marginTop="32.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="16.0dip" layout="@layout/view_premium_guild_progress_bar" />
<com.discord.utilities.simple_pager.SimplePager android:id="@id/boost_status_viewpager" android:paddingLeft="48.0dip" android:paddingRight="48.0dip" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
@ -25,7 +24,6 @@
<View android:layout_marginLeft="16.0dip" android:layout_marginTop="32.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="32.0dip" style="@style/UiKit.Divider" />
<com.discord.views.premiumguild.PremiumGuildSubscriptionUpsellView android:id="@id/boost_status_premium_upsell" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<com.google.android.material.button.MaterialButton android:id="@id/boost_status_subscribe_button2" android:layout_width="fill_parent" android:layout_marginLeft="16.0dip" android:layout_marginTop="32.0dip" android:layout_marginRight="16.0dip" android:text="@string/premium_guild_perks_modal_button_subscribe_this_server" style="@style/UiKit.Material.Button" />
<com.google.android.material.button.MaterialButton android:id="@id/boost_status_gift_button2" android:layout_width="fill_parent" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="16.0dip" android:text="@string/premium_guild_perks_modal_button_gift_premium" app:icon="@drawable/ic_gift_white_16dp" app:iconGravity="textStart" app:iconPadding="8.0dip" style="@style/UiKit.Material.Button.Secondary" />
<com.discord.views.premiumguild.PremiumSubscriptionMarketingView android:id="@id/boost_status_premium_marketing" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>

View file

@ -1,12 +0,0 @@
<?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>
<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:background="?toolbarColor" android:layout_width="fill_parent" android:layout_height="wrap_content" app:tabIndicatorColor="?colorInteractiveActive" app:tabSelectedTextColor="?colorInteractiveActive" app:tabTextColor="?colorInteractiveMuted" />
</com.discord.utilities.simple_pager.SimplePager>
</LinearLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View file

@ -22,11 +22,6 @@
</FrameLayout>
<TextView android:paddingBottom="0.0dip" android:layout_marginTop="8.0dip" android:text="@string/application_library_inventory" style="@style/UiKit.Settings.Item.Header" />
<androidx.recyclerview.widget.RecyclerView android:id="@id/settings_giftting_inventory_recycler" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:animateLayoutChanges="false" style="@style/UiKit.ViewGroup.RecyclerView" />
<TextView android:paddingBottom="8.0dip" android:layout_marginTop="8.0dip" android:text="@string/gift_inventory_select_nitro_gift" style="@style/UiKit.Settings.Item.Header" />
<LinearLayout android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="24.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<include layout="@layout/view_settings_gifting_nitro" />
<include layout="@layout/view_settings_gifting_nitro_classic" />
</LinearLayout>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</com.discord.app.AppViewFlipper>

View file

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.discord.app.AppViewFlipper android:id="@id/payment_methods_view_flipper" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ProgressBar android:layout_gravity="center" android:id="@id/payment_methods_loading" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<androidx.recyclerview.widget.RecyclerView android:id="@id/payment_methods_recycler" android:layout_width="fill_parent" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.RecyclerView" />
<LinearLayout android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.LinearLayout">
<ImageView android:layout_marginBottom="8.0dip" android:src="@drawable/img_poop_dark" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
<com.google.android.material.button.MaterialButton android:id="@id/payment_methods_retry" android:layout_width="wrap_content" android:text="@string/retry" style="@style/UiKit.Material.Button.Secondary" />
</LinearLayout>
<androidx.constraintlayout.widget.ConstraintLayout android:paddingTop="16.0dip" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.LinearLayout">
<ImageView android:id="@id/payment_methods_empty_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/img_item_shop_dark" android:importantForAccessibility="no" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintBottom_toTopOf="@id/payment_methods_empty_title" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="@color/primary_100" android:id="@id/payment_methods_empty_title" android:layout_marginTop="32.0dip" android:text="@string/billing_no_payment_method" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintBottom_toTopOf="@id/payment_methods_empty_subtext" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/payment_methods_empty_image" style="@style/UiKit.TextView" />
<TextView android:textColor="@color/primary_400" android:id="@id/payment_methods_empty_subtext" android:layout_marginTop="4.0dip" android:text="@string/billing_no_payment_method_description" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintBottom_toTopOf="@id/payment_methods_empty_add" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/payment_methods_empty_title" style="@style/UiKit.TextView" />
<com.google.android.material.button.MaterialButton android:id="@id/payment_methods_empty_add" android:layout_width="wrap_content" android:layout_marginLeft="16.0dip" android:layout_marginTop="8.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="8.0dip" android:text="@string/billing_add_payment_method" app:layout_constrainedHeight="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/payment_methods_empty_subtext" style="@style/UiKit.Material.Button" />
</androidx.constraintlayout.widget.ConstraintLayout>
</com.discord.app.AppViewFlipper>
</FrameLayout>

View file

@ -15,7 +15,6 @@
<androidx.cardview.widget.CardView android:id="@id/premium_settings_renew_mutation_container" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="8.0dip" android:layout_marginBottom="16.0dip" app:cardBackgroundColor="?colorBackgroundSecondary" app:cardCornerRadius="4.0dip">
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:id="@id/premium_settings_renew_mutation_tv" android:padding="8.0dip" android:layout_width="fill_parent" android:drawablePadding="8.0dip" app:drawableStartCompat="@drawable/ic_info_24dp" style="@style/UiKit.TextView" />
<com.google.android.material.button.MaterialButton android:id="@id/premium_settings_renew_mutation_btn" android:layout_marginLeft="8.0dip" android:layout_marginRight="8.0dip" android:layout_marginBottom="8.0dip" android:text="@string/premium_pending_plan_change_cancel_button" style="@style/UiKit.Material.Button" />
</LinearLayout>
</androidx.cardview.widget.CardView>
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/white" android:id="@id/premium_settings_grandfathered" android:background="@drawable/drawable_bg_nitro_gradient" android:padding="8.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="8.0dip" android:drawablePadding="8.0dip" app:drawableStartCompat="@drawable/ic_nitro_badge_white" style="@style/UiKit.TextView" />

View file

@ -1,3 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<WebView android:orientation="vertical" android:id="@id/web_view" android:background="@color/transparent" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android" />