apkfuckery/com.discord/res/layout/premium_sticker_pack_upsell...

26 lines
3.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<ScrollView style="@style/UiKit.ViewGroup.ScrollView">
<RelativeLayout style="@style/UiKit.ViewGroup.Page"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<ImageView android:id="@id/premium_sticker_upsell_close" android:padding="16.0dip" android:src="@drawable/ic_close_white_18dp" android:layout_alignParentTop="true" android:contentDescription="@string/close_window" android:layout_alignParentEnd="true" style="@style/UiKit.ImageView.Clickable" />
<LinearLayout android:layout_marginLeft="24.0dip" android:layout_marginRight="24.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<ImageView android:layout_gravity="center" android:layout_width="fill_parent" android:layout_marginTop="32.0dip" android:layout_marginBottom="12.0dip" android:src="@drawable/img_premium_stickers_upsell" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:gravity="center" android:id="@id/premium_sticker_upsell_description" android:layout_marginBottom="16.0dip" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView" />
<androidx.cardview.widget.CardView android:background="@color/transparent" android:layout_marginBottom="16.0dip" app:cardCornerRadius="8.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<LinearLayout android:background="?colorBackgroundSecondary" android:paddingLeft="16.0dip" android:paddingTop="8.0dip" android:paddingRight="16.0dip" android:paddingBottom="8.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:textColor="?colorTextNormal" android:id="@id/premium_sticker_upsell_perk_free_pack" android:layout_width="fill_parent" app:drawableStartCompat="@drawable/ic_sticker_icon_20dp" app:drawableTint="#fffed648" style="@style/UiKit.TextView.Perk.Small" />
<View android:background="?colorBackgroundPrimary" style="@style/UiKit.Divider.Thick" />
<TextView android:id="@id/premium_sticker_upsell_perk_boost_discount" android:layout_width="fill_parent" android:text="@string/sticker_premium_tier_1_upsell_perk_premium_guild_subscription_discount" app:drawableStartCompat="@drawable/ic_boosted_badge_24dp" style="@style/UiKit.TextView.Perk.Small" />
<View android:background="?colorBackgroundPrimary" style="@style/UiKit.Divider.Thick" />
<TextView android:layout_width="fill_parent" android:text="@string/premium_upsell_feature_stream" app:drawableStartCompat="@drawable/ic_nitro_perk_stream_24dp" style="@style/UiKit.TextView.Perk.Small" />
<View android:background="?colorBackgroundPrimary" style="@style/UiKit.Divider.Thick" />
<TextView android:layout_width="fill_parent" android:text="@string/sticker_premium_tier_1_upsell_perk_premium_subscription" app:drawableStartCompat="@drawable/ic_emoji_blue_24dp" style="@style/UiKit.TextView.Perk.Small" />
</LinearLayout>
</androidx.cardview.widget.CardView>
<LinearLayout android:layout_marginBottom="32.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<com.google.android.material.button.MaterialButton android:id="@id/premium_sticker_upsell_upgrade" android:layout_marginBottom="16.0dip" android:text="@string/premium_upsell_upgrade" android:backgroundTint="@color/status_green" style="@style/UiKit.Dialog.Button" />
<TextView android:id="@id/premium_sticker_upsell_continue" android:text="@string/_continue" style="@style/UiKit.Dialog.TextView.Dismiss" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>
</ScrollView>