apkfuckery/com.discord/res/layout/widget_settings_payment_met...

19 lines
3.9 KiB
XML

<?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="@dimen/uikit_spacing_medium" android:src="@drawable/img_poop_dark" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
<Button android:id="@id/payment_methods_retry" android:layout_width="wrap_content" android:text="@string/retry" style="@style/UiKit.Button.Grey" />
</LinearLayout>
<androidx.constraintlayout.widget.ConstraintLayout android:paddingTop="@dimen/uikit_spacing_large" 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="@dimen/uikit_spacing_xxlarge" 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="@dimen/uikit_spacing_small" 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" />
<Button android:id="@id/payment_methods_empty_add" android:layout_width="wrap_content" 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_medium" 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.Button"
xmlns:android="http://schemas.android.com/apk/res/android" />
</androidx.constraintlayout.widget.ConstraintLayout>
</com.discord.app.AppViewFlipper>
</FrameLayout>