19 lines
4.3 KiB
XML
19 lines
4.3 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<RelativeLayout android:id="@id/item_listen_together_container" android:background="?chat_embed_bg" android:layout_width="@dimen/chat_embed_width" android:layout_height="wrap_content" android:layout_marginLeft="60.0dip" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" android:layout_marginBottom="@dimen/chat_cell_vertical_spacing_padding"
|
||
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||
|
<FrameLayout android:layout_width="fill_parent" android:layout_height="80.0dip">
|
||
|
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/item_gift_image_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:alpha="0.1" app:actualImageScaleType="center" />
|
||
|
<View android:background="?gift_embed_gradient_overlay" android:layout_width="fill_parent" android:layout_height="fill_parent" />
|
||
|
</FrameLayout>
|
||
|
<com.discord.app.AppTextView android:id="@id/item_gift_header" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/invite_button_resolving" style="@style/UiKit.Chat.Embed.Header" />
|
||
|
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/item_gift_image" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_below="@id/item_gift_header" android:layout_alignParentLeft="true" app:placeholderImage="?ic_game_icon_placeholder" style="@style/Icon.Game" />
|
||
|
<LinearLayout android:gravity="center_vertical" android:minHeight="50.0dip" android:layout_toRightOf="@id/item_gift_image" android:layout_below="@id/item_gift_header" style="@style/UiKit.ViewGroup.LinearLayout">
|
||
|
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_100" android:id="@id/item_gift_name" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:minWidth="150.0dip" style="@style/UiKit.TextView.Marquee" />
|
||
|
<TextView android:id="@id/item_gift_expires" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/uikit_spacing_large" android:singleLine="true" style="@style/UiKit.Chat.Embed.Subtext" />
|
||
|
</LinearLayout>
|
||
|
<TextView android:id="@id/item_gift_subtext" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_below="@id/item_gift_image" style="@style/UiKit.Chat.Embed.Subtext" />
|
||
|
<Button android:id="@id/item_gift_cannot_claim_button" android:visibility="gone" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/gift_embed_button_claimed" android:layout_below="@id/item_gift_subtext" style="@style/UiKit.GiftEmbedDisabledButton" />
|
||
|
<Button android:id="@id/item_gift_accept_button" android:visibility="gone" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/gift_embed_button_accept" android:layout_below="@id/item_gift_subtext" style="@style/UiKit.Button.Green" />
|
||
|
<Button android:id="@id/item_gift_verify_button" android:visibility="gone" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/verify_account" android:layout_below="@id/item_gift_subtext" style="@style/UiKit.Button" />
|
||
|
<View android:id="@id/item_gift_loading_button_placeholder" android:background="@drawable/drawable_empty_text_placeholder_dark" android:visibility="gone" android:layout_height="36.0dip" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="6.0dip" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" android:layout_below="@id/item_gift_subtext" style="@style/UiKit.Button" />
|
||
|
</RelativeLayout>
|