discord-jadx/app/src/main/res/layout/widget_settings_gifting.xml

43 lines
7.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" style="@style/res_2131952591_uikit_viewgroup_coordinatorlayout_page">
<com.google.android.material.appbar.AppBarLayout style="@style/res_2131951638_apptheme_appbarlayout_flat">
<androidx.appcompat.widget.Toolbar app:navigationIcon="?attr/ic_action_bar_back" app:subtitle="@string/user_settings" app:title="@string/premium_gifting_title" style="@style/res_2131951666_apptheme_toolbar"/>
</com.google.android.material.appbar.AppBarLayout>
<com.discord.app.AppViewFlipper android:id="@+id/settings_gifting_flipper" style="@style/res_2131952588_uikit_viewgroup_appviewflipper_incoordinatorlayout">
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
<LinearLayout android:gravity="center" android:layout_height="match_parent" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<ImageView android:layout_marginBottom="8dp" android:src="@drawable/img_poop_dark" android:importantForAccessibility="no" style="@style/res_2131952448_uikit_imageview"/>
<com.google.android.material.button.MaterialButton android:id="@+id/settings_gifting_retry" android:layout_width="wrap_content" android:text="@string/retry" style="@style/res_2131952465_uikit_material_button_secondary"/>
</LinearLayout>
<androidx.core.widget.NestedScrollView style="@style/res_2131952597_uikit_viewgroup_nestedscrollview">
<LinearLayout style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<TextView android:id="@+id/settings_gifting_redeem_codes_header" android:paddingBottom="8dp" android:text="@string/gift_inventory_redeem_codes" style="@style/res_2131952494_uikit_settings_item_header"/>
<TextView android:paddingTop="0dp" android:paddingBottom="0dp" android:text="@string/application_entitlement_code_redemption_prompt" style="@style/res_2131952497_uikit_settings_item_subtext"/>
<FrameLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginRight="16dp">
<ProgressBar android:layout_gravity="right|center_vertical|center_horizontal|center|end" android:id="@+id/settings_gifting_gift_code_input_progress" android:visibility="gone" android:layout_width="20sp" android:layout_height="20sp" android:layout_marginEnd="16dp"/>
<com.google.android.material.textfield.TextInputLayout android:id="@+id/settings_gifting_gift_code_input_wrap" android:hint="@string/gift_code_hint" style="@style/res_2131952556_uikit_textinputlayout_primary">
<com.google.android.material.textfield.TextInputEditText android:imeOptions="actionDone" style="@style/res_2131952544_uikit_textinputlayout_edittext"/>
</com.google.android.material.textfield.TextInputLayout>
</FrameLayout>
<TextView android:id="@+id/settings_gifting_your_gifts_header" android:paddingBottom="0dp" android:layout_marginTop="8dp" android:layout_marginBottom="16dp" android:text="@string/gift_inventory_your_gifts" style="@style/res_2131952494_uikit_settings_item_header"/>
<androidx.recyclerview.widget.RecyclerView android:id="@+id/settings_gifting_your_gifts_recycler" android:layout_marginStart="16dp" android:layout_marginEnd="16dp" style="@style/res_2131952603_uikit_viewgroup_recyclerview"/>
<TextView android:id="@+id/settings_gifting_gifts_you_purchased_header" android:paddingBottom="0dp" android:layout_marginTop="8dp" android:text="@string/gift_inventory_gifts_you_purchased" style="@style/res_2131952494_uikit_settings_item_header"/>
<androidx.recyclerview.widget.RecyclerView android:id="@+id/settings_gifting_gifts_you_purchased_recycler" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:animateLayoutChanges="false" style="@style/res_2131952603_uikit_viewgroup_recyclerview"/>
<LinearLayout android:id="@+id/settings_gifting_purchase_gift_section" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<TextView android:id="@+id/settings_gifting_select_gift_header" android:paddingBottom="8dp" android:layout_marginTop="8dp" android:text="@string/gift_inventory_select_nitro_gift" style="@style/res_2131952494_uikit_settings_item_header"/>
<com.discord.utilities.view.text.LinkifiedTextView android:id="@+id/premium_tier_2_gift_learn_more" android:layout_marginLeft="16dp" android:layout_marginTop="12dp" android:layout_marginRight="16dp" android:layout_marginBottom="8dp" android:lineSpacingMultiplier="1" style="@style/res_2131952561_uikit_textview"/>
<com.discord.views.premium.GiftSelectView android:id="@+id/gift_select_premium_tier_2_year" android:layout_width="match_parent" android:layout_height="wrap_content"/>
<com.discord.views.premium.GiftSelectView android:id="@+id/gift_select_premium_tier_2_month" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="8dp"/>
<TextView android:textSize="@dimen/uikit_textsize_small" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:text="@string/gift_purchase_google_play_notice" style="@style/res_2131952561_uikit_textview"/>
<TextView android:id="@+id/settings_gifting_select_classic_gift_header" android:paddingBottom="8dp" android:layout_marginTop="8dp" android:text="@string/gift_inventory_select_nitro_classic_gift" style="@style/res_2131952494_uikit_settings_item_header"/>
<com.discord.utilities.view.text.LinkifiedTextView android:id="@+id/premium_tier_1_gift_learn_more" android:layout_marginLeft="16dp" android:layout_marginTop="12dp" android:layout_marginRight="16dp" android:layout_marginBottom="8dp" android:lineSpacingMultiplier="1" style="@style/res_2131952561_uikit_textview"/>
<com.discord.views.premium.GiftSelectView android:id="@+id/gift_select_premium_tier_1_year" android:layout_width="match_parent" android:layout_height="wrap_content"/>
<com.discord.views.premium.GiftSelectView android:id="@+id/gift_select_premium_tier_1_month" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="8dp"/>
<TextView android:textSize="@dimen/uikit_textsize_small" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_marginBottom="16dp" android:text="@string/gift_purchase_google_play_notice" style="@style/res_2131952561_uikit_textview"/>
</LinearLayout>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</com.discord.app.AppViewFlipper>
<com.discord.utilities.dimmer.DimmerView android:id="@+id/dimmer_view" style="@style/res_2131952421_uikit_dimmerview"/>
</androidx.coordinatorlayout.widget.CoordinatorLayout>