15 lines
2.9 KiB
XML
15 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout"
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<View style="@style/UiKit.Settings.Divider" />
|
|
<TextView android:text="@string/guild_settings_server_banner" style="@style/UiKit.Settings.Item.Header" />
|
|
<FrameLayout android:id="@id/server_settings_overview_upload_banner_container" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:foreground="?selectableItemBackground">
|
|
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/server_settings_overview_upload_banner" android:background="?primary_630" android:layout_width="fill_parent" android:layout_height="wrap_content" app:roundedCornerRadius="3.0dip" app:viewAspectRatio="1.78" />
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@id/server_settings_overview_upload_banner_fab" android:focusable="false" android:clickable="false" android:src="@drawable/ic_upload_image_40dp" android:scaleType="centerCrop" android:contentDescription="@string/sample_empty_string" app:backgroundTint="@color/white" app:fabCustomSize="32.0dip" app:maxImageSize="32.0dip" app:tint="@null" style="@style/Settings.FloatingActionButton" />
|
|
<TextView android:layout_gravity="center" android:id="@id/server_settings_overview_upload_banner_unlock" android:drawableTop="@drawable/ic_perk_lock" android:drawablePadding="8.0dip" android:textAllCaps="true" style="@style/UiKit.TextView.Bold" />
|
|
</FrameLayout>
|
|
<TextView android:textAppearance="@style/UiKit.TextAppearance.Semibold" android:textColor="@color/brand_500" android:id="@id/server_settings_overview_upload_banner_remove" android:background="?selectableItemBackground" android:paddingLeft="16.0dip" android:paddingTop="8.0dip" android:paddingRight="16.0dip" android:paddingBottom="8.0dip" android:visibility="gone" android:layout_width="wrap_content" android:text="@string/remove" style="@style/UiKit.TextView.Subtext" />
|
|
<TextView android:id="@id/server_settings_overview_upload_banner_nitro_tier" android:paddingLeft="16.0dip" android:paddingTop="8.0dip" android:paddingRight="16.0dip" android:paddingBottom="8.0dip" android:visibility="gone" android:layout_width="fill_parent" android:drawablePadding="4.0dip" android:drawableStart="@drawable/ic_nitro_badge_nitro_gradient_16dp" style="@style/UiKit.TextView" />
|
|
<TextView android:paddingBottom="4.0dip" android:text="@string/form_help_server_banner" style="@style/UiKit.Settings.Item.SubText" />
|
|
<com.discord.utilities.view.text.LinkifiedTextView android:id="@id/server_settings_overview_upload_banner_learn_more" android:paddingBottom="4.0dip" android:text="@string/guild_settings_banner_recommend" style="@style/UiKit.Settings.Item.SubText" />
|
|
</LinearLayout> |