2019-07-24 11:27:29 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.cardview.widget.CardView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_margin="@dimen/uikit_spacing_medium" app:cardCornerRadius="@dimen/uikit_spacing_small"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
2019-08-26 23:09:33 +00:00
|
|
|
<LinearLayout android:id="@id/container" android:background="?primary_630" android:minHeight="315.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
|
2019-07-24 11:27:29 +00:00
|
|
|
<RelativeLayout android:id="@id/perks_level_header" android:background="?primary_700" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
|
|
|
<TextView android:ellipsize="end" android:gravity="center_vertical" android:id="@id/perks_level_header_text" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="12.0dip" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="12.0dip" android:maxLines="1" android:drawablePadding="@dimen/uikit_spacing_large" android:layout_toLeftOf="@id/perks_level_header_boosts" android:layout_alignParentLeft="true" android:layout_centerVertical="true" android:layout_marginStart="@dimen/uikit_spacing_large" android:layout_marginEnd="@dimen/uikit_spacing_large" android:layout_toStartOf="@id/perks_level_header_boosts" android:layout_alignParentStart="true" style="@style/UiKit.TextView" />
|
|
|
|
<TextView android:textSize="@dimen/uikit_textsize_small" android:gravity="center_vertical" android:id="@id/perks_level_header_boosts" android:layout_marginRight="@dimen/uikit_spacing_large" android:drawableRight="?ic_lock" android:drawablePadding="@dimen/uikit_spacing_large" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:drawableEnd="@drawable/ic_perk_lock" android:layout_marginEnd="@dimen/uikit_spacing_large" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
|
|
|
<androidx.cardview.widget.CardView android:id="@id/perks_level_header_unlocked" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:layout_marginEnd="@dimen/uikit_spacing_large" android:layout_alignParentEnd="true" app:cardBackgroundColor="@color/white" app:cardCornerRadius="10.0dip">
|
|
|
|
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/brand_500" android:gravity="center_vertical" android:layout_marginLeft="6.0dip" android:layout_marginRight="6.0dip" android:text="@string/guild_settings_premium_guild_unlocked" android:textAllCaps="true" style="@style/UiKit.TextView.Semibold" />
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
</RelativeLayout>
|
2019-08-26 23:09:33 +00:00
|
|
|
<TextView android:textSize="@dimen/uikit_textsize_small" android:id="@id/perks_level_contents_header" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.TextView" />
|
2019-07-24 11:27:29 +00:00
|
|
|
<androidx.recyclerview.widget.RecyclerView android:id="@id/perks_level_contents_recycler" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.RecyclerView" />
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|