apkfuckery/com.discord/res/layout/widget_settings_boost.xml
2020-05-17 12:40:10 +00:00

34 lines
No EOL
4.5 KiB
XML

<?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">
<com.google.android.material.appbar.AppBarLayout style="@style/AppTheme.AppBarLayout.Flat">
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar" />
</com.google.android.material.appbar.AppBarLayout>
<com.discord.app.AppViewFlipper android:id="@id/settings_boost_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">
<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/settings_boost_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 android:paddingTop="@dimen/uikit_spacing_xlarge" android:paddingBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
<LinearLayout android:id="@id/settings_boost_subtext_container" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:text="@string/premium_guild_subscription_subtitle_mobile_1" style="@style/UiKit.TextView" />
<TextView android:id="@id/settings_boost_subtext" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" style="@style/UiKit.TextView" />
<androidx.recyclerview.widget.RecyclerView android:id="@id/settings_boost_recycler" android:layout_marginTop="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.RecyclerView" />
</LinearLayout>
<LinearLayout android:layout_marginTop="@dimen/uikit_spacing_xlarge" style="@style/UiKit.ViewGroup.LinearLayout">
<include layout="@layout/view_settings_premium_guild_marketing_header" />
<include layout="@layout/view_premium_guild_features_user_old" />
<include layout="@layout/view_premium_guild_features_guild_old" />
<View android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_xxlarge" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_xxlarge" style="@style/UiKit.Divider" />
<com.discord.views.premiumguild.PremiumGuildSubscriptionUpsellView android:id="@id/settings_boost_upsell_view" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<androidx.recyclerview.widget.RecyclerView android:id="@id/settings_boost_sample_guilds" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_xxlarge" android:layout_marginRight="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.RecyclerView" />
<include android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/uikit_spacing_xxlarge" layout="@layout/view_settings_premium_guild_no_guilds" />
</LinearLayout>
<View android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_xxlarge" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" style="@style/UiKit.Divider" />
<com.discord.views.premiumguild.PremiumSubscriptionMarketingView android:id="@id/settings_boost_marketing_view" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</com.discord.app.AppViewFlipper>
</androidx.coordinatorlayout.widget.CoordinatorLayout>