apkfuckery/com.discord/res/layout/widget_settings_gifting.xml

33 lines
4 KiB
XML
Raw Normal View History

2020-05-17 12:40:10 +00:00
<?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 app:navigationIcon="?ic_action_bar_back" app:subtitle="@string/user_settings" app:title="@string/premium_gifting_title" style="@style/AppTheme.Toolbar" />
</com.google.android.material.appbar.AppBarLayout>
<com.discord.app.AppViewFlipper android:id="@id/settings_gifting_flipper" style="@style/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="fill_parent" style="@style/UiKit.ViewGroup.LinearLayout">
2020-09-02 04:07:20 +00:00
<ImageView android:layout_marginBottom="8.0dip" android:src="@drawable/img_poop_dark" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
2020-05-17 12:40:10 +00:00
<com.google.android.material.button.MaterialButton android:id="@id/settings_gifting_retry" android:layout_width="wrap_content" android:text="@string/retry" style="@style/UiKit.Material.Button.Secondary" />
</LinearLayout>
<androidx.core.widget.NestedScrollView style="@style/UiKit.ViewGroup.NestedScrollView">
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
2020-09-02 04:07:20 +00:00
<TextView android:paddingBottom="8.0dip" android:text="@string/gift_inventory_redeem_codes" style="@style/UiKit.Settings.Item.Header" />
2020-05-17 12:40:10 +00:00
<TextView android:paddingTop="0.0dip" android:paddingBottom="0.0dip" android:text="@string/application_entitlement_code_redemption_prompt" style="@style/UiKit.Settings.Item.SubText" />
2020-09-02 04:07:20 +00:00
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip">
<ProgressBar android:layout_gravity="end|center" android:id="@id/settings_gifting_gift_code_input_progress" android:visibility="gone" android:layout_width="20.0sp" android:layout_height="20.0sp" android:layout_marginEnd="16.0dip" />
2020-07-08 16:44:49 +00:00
<com.google.android.material.textfield.TextInputLayout android:id="@id/settings_gifting_gift_code_input_wrap" android:hint="@string/gift_code_hint" style="@style/UiKit.TextInputLayout.Primary">
<com.google.android.material.textfield.TextInputEditText android:imeOptions="actionDone" style="@style/UiKit.TextInputLayout.EditText" />
2020-05-17 12:40:10 +00:00
</com.google.android.material.textfield.TextInputLayout>
</FrameLayout>
2020-09-02 04:07:20 +00:00
<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">
2020-05-17 12:40:10 +00:00
<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>
</androidx.coordinatorlayout.widget.CoordinatorLayout>