18 lines
5.1 KiB
XML
18 lines
5.1 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">
|
||
|
<com.discord.app.AppTextView android:id="@id/item_invite_header" 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_invite_image" android:layout_width="42.0dip" android:layout_height="42.0dip" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_below="@id/item_invite_header" android:layout_alignParentLeft="true" app:roundAsCircle="true" />
|
||
|
<TextView android:textColor="@color/white" android:gravity="center" android:id="@id/item_invite_image_text" android:layout_width="42.0dip" android:layout_height="42.0dip" android:layout_marginLeft="@dimen/uikit_spacing_large" android:singleLine="true" android:layout_below="@id/item_invite_header" android:layout_alignParentLeft="true" style="@style/UiKit.TextView" />
|
||
|
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_100" android:id="@id/item_invite_name" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:minWidth="150.0dip" android:layout_toRightOf="@id/item_invite_image" android:layout_below="@id/item_invite_header" style="@style/UiKit.TextView.Marquee" />
|
||
|
<LinearLayout android:gravity="center_vertical" android:id="@id/item_invite_member_container" android:layout_width="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/uikit_spacing_large" android:minWidth="100.0dip" android:minHeight="@dimen/uikit_spacing_large" android:layout_toRightOf="@id/item_invite_image" android:layout_below="@id/item_invite_name" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||
|
<ImageView android:id="@id/item_invite_online_dot" android:visibility="gone" android:layout_width="@dimen/uikit_spacing_small" android:layout_height="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/uikit_spacing_small" android:src="@drawable/drawable_circle_green" android:contentDescription="@string/instant_invite_guild_members_online" style="@style/UiKit.ImageView" />
|
||
|
<TextView android:id="@id/item_invite_online_text" android:layout_marginRight="@dimen/uikit_spacing_medium" android:singleLine="true" style="@style/UiKit.Chat.Embed.Subtext" />
|
||
|
<ImageView android:id="@id/item_invite_total_member_dot" android:visibility="gone" android:layout_width="@dimen/uikit_spacing_small" android:layout_height="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/uikit_spacing_small" android:src="@drawable/drawable_grey_user_icon" android:contentDescription="@string/instant_invite_guild_members_total" style="@style/UiKit.ImageView" />
|
||
|
<TextView android:id="@id/item_invite_total_member_text" android:singleLine="true" style="@style/UiKit.Chat.Embed.Subtext" />
|
||
|
</LinearLayout>
|
||
|
<Button android:id="@id/item_invite_joined_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/joined_server" android:layout_below="@id/item_invite_image" style="@style/UiKit.Button.White.Outline.Themed" />
|
||
|
<Button android:id="@id/item_invite_join_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/join_server" android:layout_below="@id/item_invite_image" style="@style/UiKit.Button.Green" />
|
||
|
<Button android:id="@id/item_invite_mention_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/mention" android:layout_below="@id/item_invite_image" style="@style/UiKit.Button" />
|
||
|
<View android:id="@id/item_invite_loading_button" 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:text="@string/mention" android:layout_below="@id/item_invite_image" style="@style/UiKit.Button" />
|
||
|
</RelativeLayout>
|