34 lines
6 KiB
XML
34 lines
6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.core.widget.NestedScrollView style="@style/UiKit.ViewGroup.NestedScrollView"
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<LinearLayout android:background="?colorBackgroundSecondary" android:paddingBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
|
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/guild_profile_sheet_splash" android:layout_width="fill_parent" android:layout_height="wrap_content" app:actualImageScaleType="centerCrop" app:viewAspectRatio="1.78" />
|
|
<androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="-44.0dip" android:layout_marginBottom="@dimen/uikit_spacing_large" android:layout_marginStart="12.0dip" app:cardBackgroundColor="?colorBackgroundSecondary" app:cardCornerRadius="20.0dip" app:cardElevation="0.0dip">
|
|
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/guild_profile_sheet_icon" android:layout_width="@dimen/avatar_size_xxlarge" android:layout_height="@dimen/avatar_size_xxlarge" android:layout_margin="@dimen/uikit_spacing_small" app:roundedCornerRadius="16.0dip" />
|
|
</androidx.cardview.widget.CardView>
|
|
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingStart="@dimen/uikit_spacing_large" android:paddingEnd="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
|
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="8.0dip" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
|
<ImageView android:layout_gravity="center" android:id="@id/guild_profile_sheet_guild_verified_premium_icon" android:visibility="gone" android:layout_width="24.0dip" android:layout_height="24.0dip" android:importantForAccessibility="no" android:layout_marginEnd="8.0dip" />
|
|
<TextView android:id="@id/guild_profile_sheet_name" android:maxLines="1" style="@style/UiKit.TextView.H1" />
|
|
</LinearLayout>
|
|
<TextView android:id="@id/guild_profile_sheet_description" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/uikit_spacing_large" style="@style/UiKit.TextView" />
|
|
<LinearLayout android:gravity="center" android:layout_width="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_small" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
|
<com.facebook.drawee.view.SimpleDraweeView android:layout_width="@dimen/uikit_spacing_medium" android:layout_height="@dimen/uikit_spacing_medium" android:layout_marginEnd="@dimen/uikit_spacing_medium" app:placeholderImage="@color/status_green_500" app:roundAsCircle="true" />
|
|
<com.discord.app.AppTextView android:textSize="@dimen/uikit_textsize_small" android:gravity="center" android:id="@id/guild_profile_sheet_online_count" android:text="@string/instant_invite_guild_members_online" android:singleLine="true" android:layout_marginEnd="@dimen/uikit_spacing_large" style="@style/UiKit.TextView" />
|
|
<com.facebook.drawee.view.SimpleDraweeView android:layout_width="@dimen/uikit_spacing_medium" android:layout_height="@dimen/uikit_spacing_medium" android:layout_marginEnd="@dimen/uikit_spacing_medium" app:placeholderImage="@color/status_grey_500" app:roundAsCircle="true" />
|
|
<com.discord.app.AppTextView android:textSize="@dimen/uikit_textsize_small" android:gravity="center" android:id="@id/guild_profile_sheet_member_count" android:layout_width="wrap_content" android:text="@plurals/instant_invite_guild_members_total_count" android:singleLine="true" style="@style/UiKit.TextView" />
|
|
</LinearLayout>
|
|
<View android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" style="@style/UiKit.Divider" />
|
|
<LinearLayout android:gravity="center_vertical" android:id="@id/guild_profile_sheet_premium_upsell_text" android:duplicateParentState="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/uikit_spacing_small" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
|
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/server_emoji" android:textAllCaps="true" android:layout_marginEnd="@dimen/uikit_spacing_large" style="@style/UiKit.TextView.Bold" />
|
|
<TextView android:textColor="@color/premium_tier_2_purple" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/game_popout_nitro_upsell" android:lines="1" android:drawablePadding="@dimen/uikit_spacing_small" android:drawableStart="@drawable/ic_nitro_badge_nitro_purple_16dp" style="@style/UiKit.TextView" />
|
|
</LinearLayout>
|
|
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
|
|
<androidx.recyclerview.widget.RecyclerView android:id="@id/guild_profile_sheet_emojis" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginStart="-4.0dip" android:layout_marginEnd="-4.0dip" app:layoutManager="androidx.recyclerview.widget.GridLayoutManager" />
|
|
<FrameLayout android:id="@id/guild_profile_sheet_premium_upsell_emojis" android:layout_width="fill_parent" android:layout_height="fill_parent" />
|
|
</FrameLayout>
|
|
<View android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" style="@style/UiKit.Divider" />
|
|
<com.google.android.material.button.MaterialButton android:id="@id/guild_profile_sheet_view_guild" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/game_popout_view_server" style="@style/UiKit.Material.Button" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView> |