apkfuckery/com.discord/res/layout/widget_settings_premium_swi...

19 lines
3.4 KiB
XML

<?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">
<com.discord.app.AppViewFlipper android:id="@id/premium_switch_flipper" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_above="@id/premium_switch_select_btn">
<ProgressBar android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<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" />
<com.google.android.material.button.MaterialButton android:id="@id/premium_switch_retry" android:layout_width="wrap_content" android:text="@string/retry" style="@style/UiKit.Material.Button.Secondary" />
</LinearLayout>
<RelativeLayout style="@style/UiKit.ViewGroup.RelativeLayout">
<TextView android:id="@id/premium_switch_pager_header" android:layout_marginTop="@dimen/uikit_spacing_xxxlarge" android:text="@string/billing_step_select_a_plan" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" style="@style/UiKit.TextView.H1.Bold" />
<androidx.viewpager.widget.ViewPager android:id="@id/premium_switch_pager" android:paddingLeft="@dimen/uikit_spacing_xxlarge" android:paddingRight="@dimen/uikit_spacing_xxlarge" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="@dimen/uikit_spacing_xlarge" android:layout_above="@id/premium_switch_pager_tabs" android:layout_below="@id/premium_switch_pager_header" />
<com.google.android.material.tabs.TabLayout android:id="@id/premium_switch_pager_tabs" android:layout_width="fill_parent" android:layout_height="8.0dip" android:layout_marginTop="@dimen/uikit_spacing_xxlarge" android:layout_alignParentBottom="true" app:tabBackground="@drawable/tab_dot_selector_wide" app:tabGravity="center" app:tabIndicator="@null" />
</RelativeLayout>
<include layout="@layout/layout_switch_plan_interval" />
</com.discord.app.AppViewFlipper>
<com.google.android.material.button.MaterialButton android:id="@id/premium_switch_select_btn" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_small" android:layout_above="@id/premium_switch_cancel_btn" style="@style/UiKit.Material.Button.Green" />
<TextView android:textColor="?colorHeaderPrimary" android:gravity="center_horizontal" android:id="@id/premium_switch_cancel_btn" android:background="?selectableItemBackground" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" android:text="@string/nevermind" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" style="@style/UiKit.TextView.Semibold" />
</RelativeLayout>