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

34 lines
4.5 KiB
XML
Raw Normal View History

2019-07-24 11:27:29 +00:00
<?xml version="1.0" encoding="utf-8"?>
2020-01-07 02:40:43 +00:00
<androidx.coordinatorlayout.widget.CoordinatorLayout style="@style/UiKit.ViewGroup.CoordinatorLayout.Page"
xmlns:android="http://schemas.android.com/apk/res/android">
2019-07-24 11:27:29 +00:00
<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>
2020-01-07 02:40:43 +00:00
<com.discord.app.AppViewFlipper android:id="@id/settings_boost_flipper" style="@style/UiKit.ViewGroup.AppViewFlipper.InCoordinatorLayout">
2019-07-24 11:27:29 +00:00
<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" />
2020-01-07 02:40:43 +00:00
<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" />
2019-07-24 11:27:29 +00:00
</LinearLayout>
2019-10-31 00:47:18 +00:00
<androidx.core.widget.NestedScrollView style="@style/UiKit.ViewGroup.NestedScrollView">
2020-01-02 21:43:52 +00:00
<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" />
2019-10-31 00:47:18 +00:00
</LinearLayout>
2020-01-02 21:43:52 +00:00
<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" />
2020-01-23 01:26:29 +00:00
<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" />
2019-10-31 00:47:18 +00:00
</LinearLayout>
2020-01-23 01:26:29 +00:00
<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" />
2020-01-02 21:43:52 +00:00
<com.discord.views.premiumguild.PremiumSubscriptionMarketingView android:id="@id/settings_boost_marketing_view" android:layout_width="fill_parent" android:layout_height="wrap_content" />
2019-07-24 11:27:29 +00:00
</LinearLayout>
2019-10-31 00:47:18 +00:00
</androidx.core.widget.NestedScrollView>
2019-07-24 11:27:29 +00:00
</com.discord.app.AppViewFlipper>
</androidx.coordinatorlayout.widget.CoordinatorLayout>