11 lines
1.8 KiB
XML
11 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_marginBottom="8dp" app:cardBackgroundColor="?attr/colorBackgroundSecondary" app:cardCornerRadius="4dp" style="@style/UiKit_ViewGroup_LinearLayout">
|
|
<RelativeLayout android:paddingLeft="16dp" android:paddingTop="12dp" android:paddingRight="16dp" android:paddingBottom="12dp" style="@style/UiKit_ViewGroup_RelativeLayout">
|
|
<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/boosted_sample_guild_icon" android:layout_marginRight="16dp" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit_GuildsListIcon"/>
|
|
<LinearLayout android:layout_centerVertical="true" android:layout_toStartOf="@+id/boosted_sample_guild_progress" android:layout_toEndOf="@+id/boosted_sample_guild_icon" style="@style/UiKit_ViewGroup_LinearLayout">
|
|
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?attr/colorHeaderPrimary" android:ellipsize="end" android:id="@+id/boosted_sample_guild_name" android:maxLines="1" style="@style/UiKit_TextView_Bold"/>
|
|
<TextView android:textColor="?attr/colorHeaderPrimary" android:id="@+id/boosted_sample_guild_count" android:paddingTop="4dp" android:paddingBottom="4dp" android:drawablePadding="4dp" app:drawableStartCompat="@drawable/ic_boosted_badge_12dp" style="@style/UiKit_TextView"/>
|
|
</LinearLayout>
|
|
<com.discord.views.premiumguild.PremiumGuildProgressView android:id="@+id/boosted_sample_guild_progress" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_marginStart="16dp" android:layout_alignParentEnd="true"/>
|
|
</RelativeLayout>
|
|
</androidx.cardview.widget.CardView>
|