apkfuckery/com.discord/res/layout/premium_guild_upgrade_dialo...

24 lines
3.5 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">
<ImageView android:id="@id/premium_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="16.0dip" android:src="@drawable/img_premium_guild_subscription_purchase_header_tier_2" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:gravity="center" android:id="@id/premium_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_upsell_server_perk" android:layout_width="fill_parent" app:drawableStartCompat="@drawable/ic_boosted_badge_24dp" style="@style/UiKit.TextView.Perk.Small" />
<View android:background="?colorBackgroundPrimary" android:layout_height="1.0dip" style="@style/UiKit.Divider" />
<TextView android:layout_width="fill_parent" android:text="@string/premium_upsell_feature_chat_perks_mobile" app:drawableStartCompat="@drawable/ic_emoji_blue_24dp" style="@style/UiKit.TextView.Perk.Small" />
<View android:background="?colorBackgroundPrimary" android:layout_height="1.0dip" style="@style/UiKit.Divider" />
<TextView android:layout_width="fill_parent" android:text="@string/premium_upsell_feature_stream" app:drawableStartCompat="@drawable/ic_nitro_perk_stream_24dp" app:drawableTint="?primary_300" style="@style/UiKit.TextView.Perk.Small" />
<View android:background="?colorBackgroundPrimary" android:layout_height="1.0dip" style="@style/UiKit.Divider" />
<TextView android:layout_width="fill_parent" android:text="@string/premium_upsell_feature_upload" app:drawableStartCompat="@drawable/ic_upload_24dp" app:drawableTint="#fffed648" 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/upgrade_button" android:layout_marginBottom="16.0dip" android:text="@string/premium_upsell_upgrade" style="@style/UiKit.Dialog.Button" />
<TextView android:id="@id/continue_button" android:text="@string/premium_upsell_continue_to_boosts" style="@style/UiKit.Dialog.TextView.Dismiss" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>