25 lines
No EOL
3.3 KiB
XML
25 lines
No EOL
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout style="@style/UiKit.ViewGroup.Page.LinearLayout"
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<LinearLayout android:id="@id/notice_header_container" style="@style/UiKit.ViewGroup.LinearLayout">
|
|
<TextView android:id="@id/premium_guild_subscription_cancel_header" android:padding="@dimen/uikit_spacing_large" android:text="@string/premium_guild_subscription_cancel_title" style="@style/UiKit.TextView.H1.Bold" />
|
|
<View style="@style/UiKit.Divider" />
|
|
</LinearLayout>
|
|
<androidx.core.widget.NestedScrollView style="@style/UiKit.ViewGroup.NestedScrollView">
|
|
<LinearLayout android:paddingLeft="@dimen/uikit_spacing_large" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
|
<com.discord.app.AppViewFlipper android:id="@id/premium_guild_subscription_cancel_flipper" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
|
<ProgressBar android:layout_gravity="center" android:id="@id/active_subscription_progress" android:layout_width="48.0dip" android:layout_height="48.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginEnd="@dimen/uikit_spacing_medium" />
|
|
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
|
|
<ImageView android:layout_gravity="center_horizontal" android:layout_marginTop="@dimen/uikit_spacing_xlarge" android:layout_marginBottom="@dimen/uikit_spacing_xlarge" android:src="@drawable/img_boost_cancel" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
|
|
<TextView android:id="@id/premium_guild_subscription_cancel_body" android:layout_marginBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.TextView" />
|
|
<TextView android:textColor="@color/status_red_500" android:id="@id/premium_guild_subscription_cancel_error" android:visibility="gone" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/premium_guild_subscription_error_mobile" style="@style/UiKit.TextView" />
|
|
</LinearLayout>
|
|
</com.discord.app.AppViewFlipper>
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
<View style="@style/UiKit.Settings.Divider" />
|
|
<LinearLayout style="@style/UiKit.Dialog.ButtonContainer">
|
|
<com.google.android.material.button.MaterialButton android:textColor="?colorInteractiveActive" android:id="@id/premium_guild_subscription_cancel_nevermind" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxWidth="150.0dip" android:text="@string/nevermind" style="@style/UiKit.Material.Button.Transparent" />
|
|
<com.discord.views.LoadingButton android:layout_gravity="center_vertical" android:id="@id/premium_guild_subscription_cancel_confirm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/uikit_spacing_medium" app:lb_background_color="@color/status_red_500" app:lb_progress_color="@color/white" app:lb_text="@string/premium_guild_subscription_cancel_button_mobile" app:lb_text_color="@drawable/button_text_color_primary_100" />
|
|
</LinearLayout>
|
|
</LinearLayout> |