Changes of com.discord v827

This commit is contained in:
DisTok 2019-02-04 21:17:36 +01:00
parent 7fc5290da9
commit 53d26c8ed2
2934 changed files with 38048 additions and 35398 deletions

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="24.0dip" android:width="24.0dip" android:viewportWidth="24.0" android:viewportHeight="24.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffdcddde" android:pathData="M19,6.41L17.59,5 12,10.59 6.41,5 5,6.41 10.59,12 5,17.59 6.41,19 12,13.41 17.59,19 19,17.59 13.41,12z" />
</vector>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="24.0dip" android:width="24.0dip" android:viewportWidth="24.0" android:viewportHeight="24.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffdcddde" android:pathData="M19,6.41L17.59,5 12,10.59 6.41,5 5,6.41 10.59,12 5,17.59 6.41,19 12,13.41 17.59,19 19,17.59 13.41,12z" />
<path android:fillColor="#ffffffff" android:pathData="M19,6.41L17.59,5 12,10.59 6.41,5 5,6.41 10.59,12 5,17.59 6.41,19 12,13.41 17.59,19 19,17.59 13.41,12z" />
</vector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 261 B

After

Width:  |  Height:  |  Size: 237 B

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 189 B

After

Width:  |  Height:  |  Size: 169 B

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 215 B

After

Width:  |  Height:  |  Size: 192 B

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 326 B

After

Width:  |  Height:  |  Size: 297 B

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 426 B

After

Width:  |  Height:  |  Size: 392 B

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 512 B

After

Width:  |  Height:  |  Size: 479 B

Before After
Before After

View file

@ -4,5 +4,5 @@
<ImageView android:id="@id/progress_file_image" android:layout_width="16.0dip" android:layout_height="16.0dip" android:src="@drawable/ic_uploads_generic_dark" android:scaleType="fitCenter" android:baselineAlignBottom="true" android:importantForAccessibility="no" app:layout_constraintBottom_toBottomOf="@id/progress_text" app:layout_constraintEnd_toStartOf="@id/progress_text" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintHorizontal_chainStyle="packed" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/progress_text" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="@id/progress_text" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_100" android:ellipsize="middle" android:id="@id/progress_text" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/uikit_spacing_small" android:singleLine="true" app:layout_constrainedHeight="true" app:layout_constraintBottom_toTopOf="@id/progress_bar" app:layout_constraintEnd_toStartOf="@id/progress_subtext" app:layout_constraintHeight_default="wrap" app:layout_constraintLeft_toRightOf="@id/progress_file_image" app:layout_constraintRight_toLeftOf="@id/progress_subtext" app:layout_constraintStart_toEndOf="@id/progress_file_image" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" app:layout_constraintWidth_default="wrap" style="@style/UiKit.TextView.Semibold" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_200" android:id="@id/progress_subtext" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:layout_marginEnd="@dimen/uikit_spacing_medium" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintBaseline_toBaselineOf="@id/progress_text" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHeight_default="wrap" app:layout_constraintLeft_toRightOf="@id/progress_text" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/progress_text" />
<ProgressBar android:id="@id/progress_bar" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:maxHeight="1.0dip" android:max="100" android:minHeight="1.0dip" app:layout_constrainedHeight="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHeight_default="wrap" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/progress_text" style="@style/Widget.AppCompat.ProgressBar.Horizontal" />
<ProgressBar android:id="@id/progress_bar" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:maxHeight="1.0dip" android:max="100" android:minHeight="1.0dip" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintTop_toBottomOf="@id/progress_text" style="@style/Widget.AppCompat.ProgressBar.Horizontal" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -2,19 +2,25 @@
<androidx.constraintlayout.widget.ConstraintLayout android:background="?selectableItemBackground" android:paddingTop="@dimen/chat_cell_vertical_spacing_padding" android:paddingBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" android:layout_marginEnd="@dimen/chat_cell_horizontal_spacing_total" style="@style/UiKit.ViewGroup"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<androidx.constraintlayout.widget.Guideline android:id="@id/uikit_chat_guideline" style="@style/UiKit.Chat.Guideline" />
<View android:id="@id/chat_list_item_embed_divider" android:background="?theme_chat_divider_embed" android:layout_width="4.0dip" android:layout_height="0.0dip" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginEnd="@dimen/uikit_spacing_large" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintRight_toLeftOf="@id/uikit_chat_guideline" app:layout_constraintTop_toTopOf="parent" />
<View android:id="@id/chat_list_item_embed_divider" android:background="?theme_chat_divider_embed" android:layout_width="2.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintRight_toLeftOf="@id/uikit_chat_guideline" app:layout_constraintTop_toTopOf="parent" />
<androidx.constraintlayout.widget.Guideline android:id="@id/uikit_chat_embed_guideline" app:layout_constraintGuide_begin="@dimen/uikit_guideline_chat_embed" style="@style/UiKit.Guideline" />
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_image_thumbnail" android:visibility="gone" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginStart="@dimen/uikit_spacing_large" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" app:overlayImage="@drawable/drawable_overlay_image_square" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" style="@style/UiKit.ImageView" />
<TextView android:textSize="9.5sp" android:textColor="@color/grey_1" android:id="@id/chat_list_item_embed_provider" android:background="?selectableItemBackground" android:visibility="gone" android:layout_width="0.0dip" app:layout_constraintLeft_toRightOf="@id/uikit_chat_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.TextView" />
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_author_icon" android:visibility="gone" android:layout_width="@dimen/embed_tiny_icon_size" android:layout_height="@dimen/embed_tiny_icon_size" app:layout_constraintBottom_toBottomOf="@id/chat_list_item_embed_author_text" app:layout_constraintLeft_toRightOf="@id/uikit_chat_guideline" app:layout_constraintTop_toTopOf="@id/chat_list_item_embed_author_text" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" />
<TextView android:textSize="9.5sp" android:textColor="@color/grey_1" android:id="@id/chat_list_item_embed_provider" android:background="?selectableItemBackground" android:visibility="gone" android:layout_width="0.0dip" app:layout_constraintEnd_toStartOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintStart_toEndOf="@id/uikit_chat_embed_guideline" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.TextView" />
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_author_icon" android:visibility="gone" android:layout_width="@dimen/embed_tiny_icon_size" android:layout_height="@dimen/embed_tiny_icon_size" app:layout_constraintBottom_toBottomOf="@id/chat_list_item_embed_author_text" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintTop_toTopOf="@id/chat_list_item_embed_author_text" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" />
<TextView android:textColor="?theme_chat_name" android:id="@id/chat_list_item_embed_author_text" android:visibility="gone" android:layout_width="0.0dip" android:layout_marginLeft="@dimen/embed_item_margin" android:layout_marginTop="@dimen/embed_item_margin" android:layout_toRightOf="@id/chat_list_item_embed_author_icon" android:layout_marginStart="@dimen/embed_item_margin" android:layout_toEndOf="@id/chat_list_item_embed_author_icon" app:layout_constraintEnd_toStartOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintLeft_toRightOf="@id/chat_list_item_embed_author_icon" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintStart_toEndOf="@id/chat_list_item_embed_author_icon" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_provider" app:layout_goneMarginLeft="0.0dip" app:layout_goneMarginStart="0.0dip" style="@style/UiKit.TextView.Semibold" />
<TextView android:textColor="@color/link_500" android:id="@id/chat_list_item_embed_title" android:background="?selectableItemBackground" android:layout_width="0.0dip" android:lineSpacingMultiplier="1.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_author_text" style="@style/UiKit.TextView.Semibold" />
<com.discord.utilities.view.text.LinkifiedTextView android:id="@id/chat_list_item_embed_description" android:background="?selectableItemBackground" android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/sample_channel_message" android:lineSpacingMultiplier="1.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_title" style="@style/UiKit.TextView" />
<LinearLayout android:id="@id/chat_list_item_embed_fields" android:layout_width="0.0dip" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_description" style="@style/UiKit.ViewGroup.LinearLayout" />
<TextView android:textColor="@color/link_500" android:id="@id/chat_list_item_embed_title" android:background="?selectableItemBackground" android:layout_width="0.0dip" android:lineSpacingMultiplier="1.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_author_text" style="@style/UiKit.TextView.Semibold" />
<com.discord.utilities.view.text.LinkifiedTextView android:id="@id/chat_list_item_embed_description" android:background="?selectableItemBackground" android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/sample_channel_message" android:lineSpacingMultiplier="1.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_title" style="@style/UiKit.TextView" />
<LinearLayout android:id="@id/chat_list_item_embed_fields" android:layout_width="0.0dip" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_description" style="@style/UiKit.ViewGroup.LinearLayout" />
<androidx.constraintlayout.widget.Barrier android:id="@id/chat_list_item_embed_barrier" android:layout_width="0.0dip" android:layout_height="0.0dip" app:barrierDirection="bottom" app:constraint_referenced_ids="chat_list_item_embed_description, chat_list_item_embed_title, chat_list_item_embed_image_thumbnail, chat_list_item_embed_fields, chat_list_item_embed_author_text, chat_list_item_embed_provider" />
<RelativeLayout android:id="@id/embed_image_container" android:visibility="gone" android:layout_width="wrap_content" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_guideline" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_barrier" style="@style/UiKit.ViewGroup">
<RelativeLayout android:id="@id/embed_image_container" android:visibility="gone" android:layout_width="wrap_content" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_barrier" style="@style/UiKit.ViewGroup">
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_image" android:layout_marginTop="@dimen/uikit_spacing_medium" app:overlayImage="@drawable/drawable_overlay_image_square" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" style="@style/UiKit.ImageView" />
<ImageView android:id="@id/chat_list_item_embed_image_icons" android:background="@drawable/drawable_overlay_image_rect" android:padding="@dimen/uikit_spacing_medium" android:src="@drawable/ic_play_arrow_white_24dp" android:layout_centerInParent="true" android:contentDescription="@string/sample_empty_string" style="@style/UiKit.ImageView" />
</RelativeLayout>
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_footer_icon" android:layout_width="@dimen/embed_tiny_icon_size" android:layout_height="@dimen/embed_tiny_icon_size" android:layout_marginRight="@dimen/embed_item_margin" android:layout_marginEnd="@dimen/embed_item_margin" app:layout_constraintBottom_toBottomOf="@id/chat_list_item_embed_footer_text" app:layout_constraintLeft_toRightOf="@id/uikit_chat_guideline" app:layout_constraintTop_toTopOf="@id/chat_list_item_embed_footer_text" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" />
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_footer_icon" android:layout_width="@dimen/embed_tiny_icon_size" android:layout_height="@dimen/embed_tiny_icon_size" android:layout_marginRight="@dimen/embed_item_margin" android:layout_marginEnd="@dimen/embed_item_margin" app:layout_constraintBottom_toBottomOf="@id/chat_list_item_embed_footer_text" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintTop_toTopOf="@id/chat_list_item_embed_footer_text" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" />
<TextView android:textSize="@dimen/uikit_textsize_small" android:id="@id/chat_list_item_embed_footer_text" android:layout_width="0.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_small" android:layout_toRightOf="@id/chat_list_item_embed_footer_icon" android:layout_marginStart="@dimen/uikit_spacing_medium" android:layout_toEndOf="@id/chat_list_item_embed_footer_icon" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/chat_list_item_embed_footer_icon" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/chat_list_item_embed_footer_icon" app:layout_constraintTop_toBottomOf="@id/embed_image_container" app:layout_goneMarginLeft="0.0dip" app:layout_goneMarginStart="0.0dip" style="@style/UiKit.TextView.Semibold" />
<FrameLayout android:id="@id/chat_list_item_embed_spoiler" android:background="?theme_chat_spoiler_bg" android:layout_width="0.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toRightOf="@id/chat_list_item_embed_divider" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent">
<androidx.cardview.widget.CardView android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" app:cardBackgroundColor="@color/black_alpha_60" app:cardCornerRadius="@dimen/uikit_spacing_large">
<TextView android:textColor="@color/primary_200" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingTop="@dimen/uikit_spacing_small" android:paddingRight="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_small" android:layout_marginLeft="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/uikit_spacing_small" android:text="@string/spoiler" android:textAllCaps="true" style="@style/UiKit.TextView.H2" />
</androidx.cardview.widget.CardView>
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -1,12 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:background="?chat_embed_bg" android:layout_width="@dimen/chat_embed_width" android:layout_height="@dimen/chat_embed_height" android:layout_marginLeft="60.0dip" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" android:layout_marginBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_marginStart="60.0dip" android:layout_marginEnd="@dimen/chat_cell_horizontal_spacing_total"
<androidx.constraintlayout.widget.ConstraintLayout style="@style/UiKit.Chat.Embed.Container"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/item_game_invite_cover_image" android:background="@drawable/drawable_game_invite_cover_image_background" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" android:alpha="0.4" android:layout_alignParentEnd="true" app:roundBottomLeft="false" app:roundTopLeft="false" app:roundedCornerRadius="4.0dip" app:viewAspectRatio="1.0" />
<View android:background="@drawable/drawable_game_invite_gradient_overlay" android:visibility="visible" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignLeft="@id/item_game_invite_cover_image" android:layout_alignTop="@id/item_game_invite_cover_image" android:layout_alignBottom="@id/item_game_invite_cover_image" android:layout_alignStart="@id/item_game_invite_cover_image" />
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/item_game_invite_cover_image" android:background="@drawable/drawable_game_invite_cover_image_background" android:layout_width="0.0dip" android:layout_height="128.0dip" android:alpha="0.4" app:layout_constrainedHeight="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="1.0" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" app:overlayImage="@drawable/drawable_game_invite_gradient_overlay" app:roundBottomLeft="false" app:roundTopLeft="false" app:roundedCornerRadius="4.0dip" app:viewAspectRatio="1.0" />
<TextView android:id="@id/item_game_invite_header" style="@style/UiKit.Chat.Embed.Header" />
<TextView android:textSize="18.0sp" android:textColor="?primary_100" android:id="@id/item_game_invite_status" android:layout_below="@id/item_game_invite_header" android:layout_alignLeft="@id/item_game_invite_header" android:layout_alignStart="@id/item_game_invite_header" style="@style/UiKit.TextView" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="@dimen/avatar_size_standard" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" android:layout_toLeftOf="@id/item_game_invite_application_name" android:layout_alignParentLeft="true" android:layout_alignParentBottom="true" android:layout_marginStart="@dimen/uikit_spacing_large" android:layout_toStartOf="@id/item_game_invite_application_name" android:layout_alignParentStart="true" style="@style/UiKit.View.HiddenOnSmallScreens">
<androidx.recyclerview.widget.RecyclerView android:id="@id/item_game_invite_recycler" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.RecyclerView.Horizontal" />
</RelativeLayout>
<TextView android:id="@id/item_game_invite_application_name" android:layout_width="@dimen/chat_embed_game_title_width" android:maxLines="2" style="@style/UiKit.Chat.Embed.Footer" />
</RelativeLayout>
<TextView android:textSize="18.0sp" android:textColor="?primary_100" android:id="@id/item_game_invite_status" android:layout_marginTop="@dimen/uikit_spacing_medium" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toLeftOf="@id/item_game_invite_header" app:layout_constraintStart_toStartOf="@id/item_game_invite_header" app:layout_constraintTop_toBottomOf="@id/item_game_invite_header" style="@style/UiKit.TextView" />
<androidx.recyclerview.widget.RecyclerView android:id="@id/item_game_invite_recycler" android:layout_width="0.0dip" android:layout_height="@dimen/avatar_size_standard" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" android:layout_marginStart="@dimen/uikit_spacing_large" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/item_game_invite_cover_image" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/item_game_invite_cover_image" app:layout_constraintStart_toStartOf="parent" style="@style/UiKit.ViewGroup.RecyclerView.Horizontal" />
<TextView android:gravity="end" android:id="@id/item_game_invite_application_name" android:layout_width="0.0dip" android:layout_height="wrap_content" android:maxLines="2" android:textAlignment="viewEnd" app:layout_constraintLeft_toLeftOf="@id/item_game_invite_cover_image" app:layout_constraintStart_toStartOf="@id/item_game_invite_cover_image" style="@style/UiKit.Chat.Embed.Footer" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -1,19 +1,22 @@
<?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" android:layout_marginStart="60.0dip" android:layout_marginEnd="@dimen/chat_cell_horizontal_spacing_total"
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/item_listen_together_container" style="@style/UiKit.Chat.Embed.Container"
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">
<FrameLayout android:layout_width="fill_parent" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="@id/item_gift_image" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent">
<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" android:layout_marginStart="@dimen/uikit_spacing_large" android:layout_alignParentStart="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" android:layout_toEndOf="@id/item_gift_image" style="@style/UiKit.ViewGroup.LinearLayout">
<com.discord.app.AppTextView android:id="@id/item_gift_header" 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_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_marginStart="@dimen/uikit_spacing_large" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/item_gift_header" app:placeholderImage="?ic_game_icon_placeholder" style="@style/Icon.Game" />
<LinearLayout android:id="@id/item_gift_details" android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:minHeight="50.0dip" android:layout_marginEnd="@dimen/uikit_spacing_large" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/item_gift_image" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/item_gift_image" app:layout_constraintTop_toBottomOf="@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" android:layout_marginStart="@dimen/uikit_spacing_medium" android:layout_marginEnd="@dimen/uikit_spacing_large" 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" android:layout_marginStart="@dimen/uikit_spacing_medium" android:layout_marginEnd="@dimen/uikit_spacing_large" 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" android:layout_marginStart="@dimen/uikit_spacing_large" android:layout_marginEnd="@dimen/uikit_spacing_large" 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>
<androidx.constraintlayout.widget.Barrier android:id="@id/barrier" android:layout_width="wrap_content" android:layout_height="wrap_content" app:barrierDirection="bottom" app:constraint_referenced_ids="item_gift_image,item_gift_details" />
<TextView android:id="@id/item_gift_subtext" android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginEnd="@dimen/uikit_spacing_large" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toLeftOf="@id/item_gift_image" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toStartOf="@id/item_gift_image" app:layout_constraintTop_toBottomOf="@id/barrier" style="@style/UiKit.Chat.Embed.Subtext" />
<FrameLayout android:paddingBottom="@dimen/uikit_spacing_medium" android:layout_width="0.0dip" 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" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/item_gift_subtext">
<Button android:id="@id/item_gift_cannot_claim_button" android:visibility="gone" android:text="@string/gift_embed_button_claimed" style="@style/UiKit.GiftEmbedDisabledButton" />
<Button android:id="@id/item_gift_accept_button" android:visibility="gone" android:text="@string/gift_embed_button_accept" style="@style/UiKit.Button.Green" />
<Button android:id="@id/item_gift_verify_button" android:visibility="gone" android:text="@string/verify_account" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@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_marginTop="6.0dip" style="@style/UiKit.Button" />
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -1,18 +1,20 @@
<?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" android:layout_marginStart="60.0dip" android:layout_marginEnd="@dimen/chat_cell_horizontal_spacing_total"
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/item_listen_together_container" style="@style/UiKit.Chat.Embed.Container"
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" android:layout_marginStart="@dimen/uikit_spacing_large" android:layout_alignParentStart="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" android:layout_marginStart="@dimen/uikit_spacing_large" android:layout_alignParentStart="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" android:layout_marginStart="@dimen/uikit_spacing_medium" android:layout_marginEnd="@dimen/uikit_spacing_large" android:layout_toEndOf="@id/item_invite_image" 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" android:layout_marginStart="@dimen/uikit_spacing_medium" android:layout_marginEnd="@dimen/uikit_spacing_large" android:layout_toEndOf="@id/item_invite_image" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<com.discord.app.AppTextView android:id="@id/item_invite_header" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/invite_button_resolving" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" 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_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:layout_marginStart="@dimen/uikit_spacing_large" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/item_invite_header" app:roundAsCircle="true" />
<TextView android:textColor="@color/white" android:ellipsize="end" 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:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:maxLines="1" android:singleLine="true" android:layout_marginStart="@dimen/uikit_spacing_large" android:layout_marginEnd="@dimen/uikit_spacing_large" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/item_invite_header" style="@style/UiKit.TextView" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_100" android:id="@id/item_invite_name" android:layout_width="0.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginStart="@dimen/uikit_spacing_medium" android:layout_marginEnd="@dimen/uikit_spacing_large" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/item_invite_image" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/item_invite_image" app:layout_constraintTop_toBottomOf="@id/item_invite_header" style="@style/UiKit.TextView.Marquee" />
<LinearLayout android:gravity="center_vertical" android:id="@id/item_invite_member_container" android:layout_width="0.0dip" 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_marginStart="@dimen/uikit_spacing_medium" android:layout_marginEnd="@dimen/uikit_spacing_large" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/item_invite_image" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/item_invite_image" app:layout_constraintTop_toBottomOf="@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" android:layout_marginEnd="@dimen/uikit_spacing_small" style="@style/UiKit.ImageView" />
<TextView android:id="@id/item_invite_online_text" android:layout_marginRight="@dimen/uikit_spacing_medium" android:singleLine="true" android:layout_marginEnd="@dimen/uikit_spacing_medium" 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" android:layout_marginEnd="@dimen/uikit_spacing_small" 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>
<FrameLayout android:paddingBottom="@dimen/uikit_spacing_medium" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/join_server" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/item_invite_image">
<Button android:id="@id/item_invite_joined_button" android:visibility="gone" android:text="@string/joined_server" style="@style/UiKit.Button.White.Outline.Themed" />
<Button android:id="@id/item_invite_join_button" android:text="@string/join_server" style="@style/UiKit.Button.Green" />
<Button android:id="@id/item_invite_mention_button" android:visibility="gone" android:text="@string/mention" 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:text="@string/mention" style="@style/UiKit.Button" />
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -1,13 +1,12 @@
<?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="@dimen/chat_listen_embed_height" android:layout_marginLeft="60.0dip" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" android:layout_marginBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_marginStart="60.0dip" android:layout_marginEnd="@dimen/chat_cell_horizontal_spacing_total"
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/item_listen_together_container" android:layout_height="@dimen/chat_listen_embed_height" style="@style/UiKit.Chat.Embed.Container"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<TextView android:id="@id/item_listen_together_header" style="@style/UiKit.Chat.Embed.Header" />
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/item_listen_together_album_image" android:layout_width="42.0dip" android:layout_height="42.0dip" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_below="@id/item_listen_together_header" android:layout_alignParentLeft="true" android:layout_marginStart="@dimen/uikit_spacing_large" android:layout_alignParentStart="true" app:roundedCornerRadius="4.0dip" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_100" android:id="@id/item_listen_together_session_ended" android:visibility="gone" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:text="@string/invite_embed_listen_has_ended" android:singleLine="true" android:layout_below="@id/item_listen_together_header" android:layout_alignParentLeft="true" android:layout_marginStart="@dimen/uikit_spacing_large" android:layout_marginEnd="@dimen/uikit_spacing_large" android:layout_alignParentStart="true" style="@style/UiKit.TextView" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_100" android:id="@id/item_listen_together_track" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_toRightOf="@id/item_listen_together_album_image" android:layout_below="@id/item_listen_together_header" android:layout_marginStart="@dimen/uikit_spacing_medium" android:layout_marginEnd="@dimen/uikit_spacing_large" android:layout_toEndOf="@id/item_listen_together_album_image" style="@style/UiKit.TextView.Marquee" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_100" android:id="@id/item_listen_together_artist" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_toRightOf="@id/item_listen_together_album_image" android:layout_below="@id/item_listen_together_track" android:layout_marginStart="@dimen/uikit_spacing_medium" android:layout_marginEnd="@dimen/uikit_spacing_large" android:layout_toEndOf="@id/item_listen_together_album_image" style="@style/UiKit.TextView.Marquee" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="@dimen/avatar_size_standard" android:layout_marginLeft="@dimen/embed_user_padding" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/embed_user_padding" android:layout_toLeftOf="@id/item_listen_together_join" android:layout_alignParentLeft="true" android:layout_alignParentBottom="true" android:layout_marginStart="@dimen/embed_user_padding" android:layout_toStartOf="@id/item_listen_together_join" android:layout_alignParentStart="true" style="@style/UiKit.View.HiddenOnSmallScreens">
<androidx.recyclerview.widget.RecyclerView android:id="@id/item_listen_together_recycler" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.RecyclerView.Horizontal" />
</RelativeLayout>
<TextView android:id="@id/item_listen_together_join" android:text="@string/invite_embed_join_via_desktop_app" android:singleLine="true" style="@style/UiKit.Chat.Embed.Footer" />
</RelativeLayout>
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/item_listen_together_album_image" android:layout_width="42.0dip" android:layout_height="42.0dip" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/margin" android:layout_marginStart="@dimen/uikit_spacing_large" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/item_listen_together_header" app:roundedCornerRadius="4.0dip" />
<TextView android:id="@id/item_listen_together_session_ended" android:visibility="gone" android:layout_margin="@dimen/uikit_spacing_large" android:text="@string/invite_embed_listen_has_ended" app:layout_constrainedWidth="true" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/item_listen_together_header" style="@style/UiKit.TextView.Large.SingleLine" />
<TextView android:ellipsize="marquee" android:id="@id/item_listen_together_track" android:layout_width="0.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:marqueeRepeatLimit="marquee_forever" android:layout_marginStart="@dimen/uikit_spacing_medium" android:layout_marginEnd="@dimen/uikit_spacing_large" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/item_listen_together_album_image" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/item_listen_together_album_image" app:layout_constraintTop_toBottomOf="@id/item_listen_together_header" style="@style/UiKit.TextView.Large.SingleLine" />
<TextView android:id="@id/item_listen_together_artist" android:layout_width="0.0dip" app:layout_constraintEnd_toEndOf="@id/item_listen_together_track" app:layout_constraintLeft_toLeftOf="@id/item_listen_together_track" app:layout_constraintRight_toRightOf="@id/item_listen_together_track" app:layout_constraintStart_toStartOf="@id/item_listen_together_track" app:layout_constraintTop_toBottomOf="@id/item_listen_together_track" style="@style/UiKit.TextView.Marquee" />
<androidx.constraintlayout.widget.Barrier android:id="@id/barrier" android:layout_width="fill_parent" android:layout_height="wrap_content" app:barrierDirection="bottom" app:constraint_referenced_ids="item_listen_together_album_image,item_listen_together_artist" />
<androidx.recyclerview.widget.RecyclerView android:id="@id/item_listen_together_recycler" android:layout_width="0.0dip" android:layout_height="@dimen/avatar_size_standard" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_large" android:layout_marginStart="@dimen/uikit_spacing_large" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/item_listen_together_join" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/item_listen_together_join" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/barrier" style="@style/UiKit.ViewGroup.RecyclerView.Horizontal" />
<TextView android:id="@id/item_listen_together_join" android:text="@string/invite_embed_join_via_desktop_app" style="@style/UiKit.Chat.Embed.Footer" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:background="?selectableItemBackground" android:paddingLeft="47.0dip" android:paddingRight="@dimen/chat_cell_horizontal_spacing_total" android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingStart="47.0dip" android:paddingEnd="@dimen/chat_cell_horizontal_spacing_total"
<FrameLayout android:background="?selectableItemBackground" android:paddingLeft="@dimen/uikit_guideline_chat" android:paddingRight="@dimen/chat_cell_horizontal_spacing_total" android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingStart="@dimen/uikit_guideline_chat" android:paddingEnd="@dimen/chat_cell_horizontal_spacing_total"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.discord.utilities.view.text.LinkifiedTextView android:textSize="13.75sp" android:textColor="?theme_chat_text" android:textColorLink="@color/link_500" android:gravity="center_vertical" android:id="@id/chat_list_adapter_item_text" android:layout_width="fill_parent" android:layout_marginLeft="@dimen/chat_cell_horizontal_spacing_total" android:layout_marginBottom="2.0dip" android:minHeight="19.0dip" android:lineSpacingMultiplier="1.1" android:layout_marginStart="@dimen/chat_cell_horizontal_spacing_total" style="@style/UiKit.TextView" />
</RelativeLayout>
<com.discord.utilities.view.text.LinkifiedTextView android:textSize="13.75sp" android:textColor="?theme_chat_text" android:textColorLink="@color/link_500" android:gravity="center_vertical" android:id="@id/chat_list_adapter_item_text" android:layout_width="fill_parent" android:layout_marginBottom="2.0dip" android:minHeight="19.0dip" android:lineSpacingMultiplier="1.1" style="@style/UiKit.TextView" />
</FrameLayout>

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:paddingLeft="@dimen/chat_cell_horizontal_spacing_padding" android:paddingTop="@dimen/chat_cell_vertical_spacing_padding" android:paddingRight="@dimen/chat_cell_horizontal_spacing_padding" android:paddingBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/chat_cell_horizontal_spacing_margin" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_margin"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/chat_list_adapter_item_start_image" android:layout_width="98.4375dip" android:layout_height="75.9375dip" android:layout_marginTop="10.0dip" android:src="@drawable/asset_mascot_grey_left" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:layout_centerInParent="true" android:contentDescription="@string/sample_empty_string" android:layout_alignParentStart="true" />
<com.discord.app.AppTextView android:textSize="13.75sp" android:textColor="?theme_chat_text" android:textColorLink="@color/link_500" android:id="@id/chat_list_adapter_item_start" android:paddingTop="10.0dip" android:paddingBottom="10.0dip" android:layout_width="fill_parent" android:text="@string/beginning_channel" android:layout_below="@id/chat_list_adapter_item_start_image" style="@style/UiKit.TextView" />
<ImageView android:id="@id/chat_list_adapter_item_start_image" android:layout_width="98.0dip" android:layout_height="76.0dip" android:layout_marginTop="10.0dip" android:src="@drawable/asset_mascot_grey_left" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:layout_centerInParent="true" android:contentDescription="@string/sample_empty_string" android:layout_alignParentStart="true" />
<com.discord.app.AppTextView android:textColor="?theme_chat_text" android:id="@id/chat_list_adapter_item_start" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:text="@string/beginning_channel" android:layout_below="@id/chat_list_adapter_item_start_image" style="@style/UiKit.TextView" />
</RelativeLayout>

View file

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:paddingLeft="@dimen/chat_cell_horizontal_spacing_padding" android:paddingTop="@dimen/chat_cell_vertical_spacing_padding" android:paddingRight="@dimen/chat_cell_horizontal_spacing_padding" android:paddingBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/chat_cell_horizontal_spacing_margin" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_margin"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/chat_list_adapter_item_system_icon" android:layout_width="@dimen/avatar_size_small" android:layout_height="@dimen/avatar_size_small" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" android:layout_centerVertical="true" android:contentDescription="@string/sample_empty_string" android:layout_marginEnd="@dimen/chat_cell_horizontal_spacing_total" />
<ImageView android:id="@id/chat_list_adapter_item_system_icon" android:layout_width="@dimen/avatar_size_small" android:layout_height="@dimen/avatar_size_small" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" android:layout_centerVertical="true" android:importantForAccessibility="no" android:layout_marginEnd="@dimen/chat_cell_horizontal_spacing_total" />
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_toRightOf="@id/chat_list_adapter_item_system_icon" android:layout_centerVertical="true" android:layout_toEndOf="@id/chat_list_adapter_item_system_icon">
<TextView android:textSize="13.75sp" android:textColor="?theme_chat_text" android:id="@id/chat_list_adapter_item_system_text" android:layout_width="fill_parent" style="@style/UiKit.TextView" />
<TextView android:textSize="9.5sp" android:textColor="?theme_chat_timestamp" android:gravity="center_vertical" android:id="@id/chat_list_adapter_item_system_timestamp" android:layout_marginBottom="1.0dip" android:maxWidth="150.0dip" android:text="@string/sample_time_pm" android:singleLine="true" style="@style/UiKit.TextView" />
<TextView android:textColor="?theme_chat_text" android:id="@id/chat_list_adapter_item_system_text" android:layout_width="fill_parent" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView.Large" />
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?theme_chat_timestamp" android:gravity="center_vertical" android:id="@id/chat_list_adapter_item_system_timestamp" android:layout_marginBottom="1.0dip" android:maxWidth="150.0dip" android:text="@string/sample_time_pm" android:singleLine="true" style="@style/UiKit.TextView" />
</LinearLayout>
</RelativeLayout>

View file

@ -1,11 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:background="?selectableItemBackground" android:paddingLeft="@dimen/chat_cell_horizontal_spacing_total" android:paddingTop="@dimen/chat_cell_vertical_spacing_padding" android:paddingRight="@dimen/chat_cell_horizontal_spacing_total" android:paddingBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_width="fill_parent" android:layout_height="wrap_content"
<androidx.constraintlayout.widget.ConstraintLayout android:background="?selectableItemBackground" android:paddingTop="10.0dip" android:paddingRight="@dimen/chat_cell_horizontal_spacing_padding" android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingEnd="@dimen/chat_cell_horizontal_spacing_padding"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_adapter_item_text_avatar" android:layout_marginTop="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" android:importantForAccessibility="no" android:layout_marginEnd="@dimen/chat_cell_horizontal_spacing_total" style="@style/Avatar.Standard" />
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/chat_list_adapter_item_text_header" android:layout_marginBottom="@dimen/uikit_spacing_small" android:layout_toRightOf="@id/chat_list_adapter_item_text_avatar" android:layout_toEndOf="@id/chat_list_adapter_item_text_avatar" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<TextView android:textSize="13.75sp" android:textColor="?theme_chat_name" android:id="@id/chat_list_adapter_item_text_name" android:singleLine="true" app:layout_constrainedWidth="true" app:layout_constraintBaseline_toBaselineOf="@id/chat_list_adapter_item_text_bot" app:layout_constraintEnd_toStartOf="@id/chat_list_adapter_item_text_bot" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintHorizontal_chainStyle="packed" app:layout_constraintStart_toStartOf="parent" style="@style/UiKit.TextView" />
<androidx.constraintlayout.widget.Guideline android:id="@id/uikit_chat_guideline" style="@style/UiKit.Chat.Guideline" />
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_adapter_item_text_avatar" android:layout_marginLeft="8.0dip" android:layout_marginTop="@dimen/uikit_spacing_small" android:importantForAccessibility="no" android:layout_marginStart="8.0dip" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="@id/uikit_chat_guideline" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/uikit_chat_guideline" app:layout_constraintStart_toStartOf="parent" style="@style/Avatar.Chat" />
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/chat_list_adapter_item_text_header" android:layout_width="wrap_content" android:layout_height="0.0dip" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_guideline" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/uikit_chat_guideline" app:layout_constraintTop_toTopOf="@id/chat_list_adapter_item_text_avatar">
<TextView android:textColor="?theme_chat_name" android:id="@id/chat_list_adapter_item_text_name" android:lineSpacingMultiplier="1.0" app:layout_constrainedWidth="true" app:layout_constraintBaseline_toBaselineOf="@id/chat_list_adapter_item_text_bot" app:layout_constraintEnd_toStartOf="@id/chat_list_adapter_item_text_bot" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintHorizontal_chainStyle="packed" app:layout_constraintStart_toStartOf="parent" style="@style/UiKit.TextView.Large.SingleLine" />
<TextView android:textSize="9.5sp" android:textColor="@color/white" android:id="@id/chat_list_adapter_item_text_bot" android:background="@drawable/drawable_button_purple_neutral" android:paddingLeft="3.0dip" android:paddingTop="0.5dip" android:paddingRight="3.0dip" android:paddingBottom="0.5dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginBottom="1.0dip" android:text="BOT" android:singleLine="true" android:layout_marginStart="6.0dip" app:layout_constraintEnd_toStartOf="@id/chat_list_adapter_item_text_timestamp" app:layout_constraintStart_toEndOf="@id/chat_list_adapter_item_text_name" style="@style/UiKit.TextView" />
<TextView android:textSize="9.5sp" android:textColor="?theme_chat_timestamp" android:gravity="center_vertical" android:id="@id/chat_list_adapter_item_text_timestamp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginBottom="1.0dip" android:maxWidth="150.0dip" android:singleLine="true" android:layout_marginStart="6.0dip" app:layout_constraintBaseline_toBaselineOf="@id/chat_list_adapter_item_text_name" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/chat_list_adapter_item_text_bot" style="@style/UiKit.TextView" />
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?theme_chat_timestamp" android:gravity="center_vertical" android:id="@id/chat_list_adapter_item_text_timestamp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginBottom="1.0dip" android:maxWidth="150.0dip" android:singleLine="true" android:layout_marginStart="6.0dip" app:layout_constraintBaseline_toBaselineOf="@id/chat_list_adapter_item_text_name" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/chat_list_adapter_item_text_bot" style="@style/UiKit.TextView" />
</androidx.constraintlayout.widget.ConstraintLayout>
<com.discord.utilities.view.text.LinkifiedTextView android:textSize="13.75sp" android:textColor="?theme_chat_text" android:textColorLink="@color/link_500" android:id="@id/chat_list_adapter_item_text" android:layout_width="fill_parent" android:layout_toRightOf="@id/chat_list_adapter_item_text_avatar" android:layout_below="@id/chat_list_adapter_item_text_header" android:layout_toEndOf="@id/chat_list_adapter_item_text_avatar" style="@style/UiKit.TextView" />
</RelativeLayout>
<com.discord.utilities.view.text.LinkifiedTextView android:textSize="13.75sp" android:textColor="?theme_chat_text" android:textColorLink="@color/link_500" android:id="@id/chat_list_adapter_item_text" android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_xsmall" android:layout_marginRight="@dimen/uikit_spacing_small" android:layout_marginBottom="2.0dip" android:layout_marginEnd="@dimen/uikit_spacing_small" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/uikit_chat_guideline" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/uikit_chat_guideline" app:layout_constraintTop_toBottomOf="@id/chat_list_adapter_item_text_header" style="@style/UiKit.TextView" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -2,6 +2,6 @@
<RelativeLayout android:orientation="vertical" android:paddingLeft="@dimen/chat_cell_horizontal_spacing_total" android:paddingTop="@dimen/chat_cell_vertical_spacing_padding" android:paddingRight="@dimen/chat_cell_horizontal_spacing_total" android:paddingBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<View android:id="@id/chat_list_item_divider_stroke_left" android:layout_width="fill_parent" android:layout_height="0.25dip" android:layout_toLeftOf="@id/chat_list_item_divider_text" android:layout_centerInParent="true" android:layout_toStartOf="@id/chat_list_item_divider_text" />
<TextView android:textSize="11.0sp" android:gravity="center" android:id="@id/chat_list_item_divider_text" android:paddingLeft="@dimen/chat_cell_horizontal_spacing_padding" android:paddingRight="@dimen/chat_cell_horizontal_spacing_padding" android:layout_centerInParent="true" style="@style/UiKit.TextView.Semibold" />
<TextView android:textSize="@dimen/uikit_textsize_small" android:gravity="center" android:id="@id/chat_list_item_divider_text" android:paddingLeft="@dimen/chat_cell_horizontal_spacing_padding" android:paddingRight="@dimen/chat_cell_horizontal_spacing_padding" android:layout_centerInParent="true" style="@style/UiKit.TextView.Semibold" />
<View android:id="@id/chat_list_item_divider_stroke_right" android:layout_width="fill_parent" android:layout_height="0.25dip" android:layout_toRightOf="@id/chat_list_item_divider_text" android:layout_centerInParent="true" android:layout_toEndOf="@id/chat_list_item_divider_text" />
</RelativeLayout>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="horizontal" android:background="?chat_embed_bg" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="60.0dip" android:layout_marginTop="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" android:layout_marginBottom="@dimen/chat_cell_vertical_spacing_padding" android:maxWidth="400.0dip" android:weightSum="1.0" android:layout_marginStart="60.0dip" android:layout_marginEnd="@dimen/chat_cell_horizontal_spacing_total" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal"
<LinearLayout android:orientation="horizontal" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false" style="@style/UiKit.Chat.Embed.Container"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:layout_weight="0.05" android:layout_marginEnd="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup.LinearLayout">
<com.discord.views.UploadProgressView android:id="@id/upload_progress_1" android:layout_width="fill_parent" android:layout_height="wrap_content" />
@ -7,7 +7,7 @@
<com.discord.views.UploadProgressView android:id="@id/upload_progress_3" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</LinearLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="0.9">
<ImageView android:id="@id/progress_cancel_top" android:background="?selectableItemBackground" android:layout_width="18.0dip" android:layout_height="18.0dip" android:layout_marginTop="@dimen/uikit_spacing_small" android:src="@drawable/ic_close_white_24dp" android:contentDescription="@string/cancel" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/progress_cancel_centered" android:background="?selectableItemBackground" android:layout_width="18.0dip" android:layout_height="18.0dip" android:src="@drawable/ic_close_white_24dp" android:contentDescription="@string/cancel" />
<ImageView android:id="@id/progress_cancel_top" android:background="?selectableItemBackground" android:layout_width="18.0dip" android:layout_height="18.0dip" android:layout_marginTop="@dimen/uikit_spacing_small" android:src="@drawable/ic_close_primary_200_24dp" android:contentDescription="@string/cancel" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/progress_cancel_centered" android:background="?selectableItemBackground" android:layout_width="18.0dip" android:layout_height="18.0dip" android:src="@drawable/ic_close_primary_200_24dp" android:contentDescription="@string/cancel" />
</FrameLayout>
</LinearLayout>

View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout android:background="?selectableItemBackground" android:paddingTop="@dimen/chat_cell_vertical_spacing_padding" android:paddingBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" android:layout_marginEnd="@dimen/chat_cell_horizontal_spacing_total" style="@style/UiKit.ViewGroup"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<androidx.constraintlayout.widget.Guideline android:id="@id/uikit_chat_guideline" style="@style/UiKit.Chat.Guideline" />
<View android:id="@id/chat_list_item_embed_divider" android:background="?theme_chat_divider_embed" android:layout_width="2.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintRight_toLeftOf="@id/uikit_chat_guideline" app:layout_constraintTop_toTopOf="parent" />
<androidx.constraintlayout.widget.Guideline android:id="@id/uikit_chat_embed_guideline" app:layout_constraintGuide_begin="@dimen/uikit_guideline_chat_embed" style="@style/UiKit.Guideline" />
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_image_thumbnail" android:visibility="gone" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginStart="@dimen/uikit_spacing_large" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" app:overlayImage="@drawable/drawable_overlay_image_square" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" style="@style/UiKit.ImageView" />
<TextView android:textSize="9.5sp" android:textColor="@color/grey_1" android:id="@id/chat_list_item_embed_provider" android:background="?selectableItemBackground" android:visibility="gone" android:layout_width="0.0dip" app:layout_constraintEnd_toStartOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintStart_toEndOf="@id/uikit_chat_embed_guideline" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.TextView" />
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_author_icon" android:visibility="gone" android:layout_width="@dimen/embed_tiny_icon_size" android:layout_height="@dimen/embed_tiny_icon_size" app:layout_constraintBottom_toBottomOf="@id/chat_list_item_embed_author_text" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintTop_toTopOf="@id/chat_list_item_embed_author_text" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" />
<TextView android:textColor="?theme_chat_name" android:id="@id/chat_list_item_embed_author_text" android:visibility="gone" android:layout_width="0.0dip" android:layout_marginLeft="@dimen/embed_item_margin" android:layout_marginTop="@dimen/embed_item_margin" android:layout_toRightOf="@id/chat_list_item_embed_author_icon" android:layout_marginStart="@dimen/embed_item_margin" android:layout_toEndOf="@id/chat_list_item_embed_author_icon" app:layout_constraintEnd_toStartOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintLeft_toRightOf="@id/chat_list_item_embed_author_icon" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintStart_toEndOf="@id/chat_list_item_embed_author_icon" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_provider" app:layout_goneMarginLeft="0.0dip" app:layout_goneMarginStart="0.0dip" style="@style/UiKit.TextView.Semibold" />
<TextView android:textColor="@color/link_500" android:id="@id/chat_list_item_embed_title" android:background="?selectableItemBackground" android:layout_width="0.0dip" android:lineSpacingMultiplier="1.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_author_text" style="@style/UiKit.TextView.Semibold" />
<com.discord.utilities.view.text.LinkifiedTextView android:id="@id/chat_list_item_embed_description" android:background="?selectableItemBackground" android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/sample_channel_message" android:lineSpacingMultiplier="1.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_title" style="@style/UiKit.TextView" />
<LinearLayout android:id="@id/chat_list_item_embed_fields" android:layout_width="0.0dip" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_description" style="@style/UiKit.ViewGroup.LinearLayout" />
<androidx.constraintlayout.widget.Barrier android:id="@id/chat_list_item_embed_barrier" android:layout_width="0.0dip" android:layout_height="0.0dip" app:barrierDirection="bottom" app:constraint_referenced_ids="chat_list_item_embed_description, chat_list_item_embed_title, chat_list_item_embed_image_thumbnail, chat_list_item_embed_fields, chat_list_item_embed_author_text, chat_list_item_embed_provider" />
<RelativeLayout android:id="@id/embed_image_container" android:visibility="gone" android:layout_width="wrap_content" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_barrier" style="@style/UiKit.ViewGroup">
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_image" android:layout_marginTop="@dimen/uikit_spacing_medium" app:overlayImage="@drawable/drawable_overlay_image_square" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" style="@style/UiKit.ImageView" />
<ImageView android:id="@id/chat_list_item_embed_image_icons" android:background="@drawable/drawable_overlay_image_rect" android:padding="@dimen/uikit_spacing_medium" android:src="@drawable/ic_play_arrow_white_24dp" android:layout_centerInParent="true" android:contentDescription="@string/sample_empty_string" style="@style/UiKit.ImageView" />
</RelativeLayout>
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_footer_icon" android:layout_width="@dimen/embed_tiny_icon_size" android:layout_height="@dimen/embed_tiny_icon_size" android:layout_marginRight="@dimen/embed_item_margin" android:layout_marginEnd="@dimen/embed_item_margin" app:layout_constraintBottom_toBottomOf="@id/chat_list_item_embed_footer_text" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintTop_toTopOf="@id/chat_list_item_embed_footer_text" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" />
<TextView android:textSize="@dimen/uikit_textsize_small" android:id="@id/chat_list_item_embed_footer_text" android:layout_width="0.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_small" android:layout_toRightOf="@id/chat_list_item_embed_footer_icon" android:layout_marginStart="@dimen/uikit_spacing_medium" android:layout_toEndOf="@id/chat_list_item_embed_footer_icon" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/chat_list_item_embed_footer_icon" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/chat_list_item_embed_footer_icon" app:layout_constraintTop_toBottomOf="@id/embed_image_container" app:layout_goneMarginLeft="0.0dip" app:layout_goneMarginStart="0.0dip" style="@style/UiKit.TextView.Semibold" />
<FrameLayout android:id="@id/chat_list_item_embed_spoiler" android:background="?theme_chat_spoiler_bg" android:layout_width="0.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toRightOf="@id/chat_list_item_embed_divider" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent">
<androidx.cardview.widget.CardView android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:elevation="@dimen/app_elevation" app:cardBackgroundColor="@color/black_alpha_60" app:cardCornerRadius="@dimen/uikit_spacing_large">
<TextView android:textColor="@color/primary_200" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingTop="@dimen/uikit_spacing_small" android:paddingRight="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_small" android:layout_marginLeft="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/uikit_spacing_small" android:text="@string/spoiler" android:textAllCaps="true" style="@style/UiKit.TextView.H2" />
</androidx.cardview.widget.CardView>
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:background="?chat_embed_bg" android:layout_width="@dimen/chat_embed_width" android:layout_height="@dimen/chat_embed_height" android:layout_marginLeft="60.0dip" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" android:layout_marginBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_marginStart="60.0dip" android:layout_marginEnd="@dimen/chat_cell_horizontal_spacing_total" android:elevation="@dimen/app_elevation"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/item_game_invite_cover_image" android:background="@drawable/drawable_game_invite_cover_image_background" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" android:alpha="0.4" android:layout_alignParentEnd="true" app:roundBottomLeft="false" app:roundTopLeft="false" app:roundedCornerRadius="4.0dip" app:viewAspectRatio="1.0" />
<View android:background="@drawable/drawable_game_invite_gradient_overlay" android:visibility="visible" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignLeft="@id/item_game_invite_cover_image" android:layout_alignTop="@id/item_game_invite_cover_image" android:layout_alignBottom="@id/item_game_invite_cover_image" android:layout_alignStart="@id/item_game_invite_cover_image" />
<TextView android:id="@id/item_game_invite_header" style="@style/UiKit.Chat.Embed.Header" />
<TextView android:textSize="18.0sp" android:textColor="?primary_100" android:id="@id/item_game_invite_status" android:layout_below="@id/item_game_invite_header" android:layout_alignLeft="@id/item_game_invite_header" android:layout_alignStart="@id/item_game_invite_header" style="@style/UiKit.TextView" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="@dimen/avatar_size_standard" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" android:layout_toLeftOf="@id/item_game_invite_application_name" android:layout_alignParentLeft="true" android:layout_alignParentBottom="true" android:layout_marginStart="@dimen/uikit_spacing_large" android:layout_toStartOf="@id/item_game_invite_application_name" android:layout_alignParentStart="true" style="@style/UiKit.View.HiddenOnSmallScreens">
<androidx.recyclerview.widget.RecyclerView android:id="@id/item_game_invite_recycler" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.RecyclerView.Horizontal" />
</RelativeLayout>
<TextView android:id="@id/item_game_invite_application_name" android:layout_width="@dimen/chat_embed_game_title_width" android:maxLines="2" style="@style/UiKit.Chat.Embed.Footer" />
</RelativeLayout>

View file

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="horizontal" android:background="?chat_embed_bg" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="60.0dip" android:layout_marginTop="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" android:layout_marginBottom="@dimen/chat_cell_vertical_spacing_padding" android:maxWidth="400.0dip" android:weightSum="1.0" android:layout_marginStart="60.0dip" android:layout_marginEnd="@dimen/chat_cell_horizontal_spacing_total" android:elevation="@dimen/app_elevation" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:layout_weight="0.05" android:layout_marginEnd="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup.LinearLayout">
<com.discord.views.UploadProgressView android:id="@id/upload_progress_1" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<com.discord.views.UploadProgressView android:id="@id/upload_progress_2" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<com.discord.views.UploadProgressView android:id="@id/upload_progress_3" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</LinearLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="0.9">
<ImageView android:id="@id/progress_cancel_top" android:background="?selectableItemBackground" android:layout_width="18.0dip" android:layout_height="18.0dip" android:layout_marginTop="@dimen/uikit_spacing_small" android:src="@drawable/ic_close_white_24dp" android:contentDescription="@string/cancel" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/progress_cancel_centered" android:background="?selectableItemBackground" android:layout_width="18.0dip" android:layout_height="18.0dip" android:src="@drawable/ic_close_white_24dp" android:contentDescription="@string/cancel" />
</FrameLayout>
</LinearLayout>

View file

@ -4,5 +4,5 @@
<ImageView android:id="@id/progress_file_image" android:layout_width="16.0dip" android:layout_height="16.0dip" android:src="@drawable/ic_uploads_generic_dark" android:scaleType="fitCenter" android:baselineAlignBottom="true" android:importantForAccessibility="no" app:layout_constraintBottom_toBottomOf="@id/progress_text" app:layout_constraintEnd_toStartOf="@id/progress_text" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintHorizontal_chainStyle="packed" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/progress_text" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="@id/progress_text" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_100" android:ellipsize="middle" android:id="@id/progress_text" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/uikit_spacing_small" android:singleLine="true" app:layout_constrainedHeight="true" app:layout_constraintBottom_toTopOf="@id/progress_bar" app:layout_constraintEnd_toStartOf="@id/progress_subtext" app:layout_constraintHeight_default="wrap" app:layout_constraintLeft_toRightOf="@id/progress_file_image" app:layout_constraintRight_toLeftOf="@id/progress_subtext" app:layout_constraintStart_toEndOf="@id/progress_file_image" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" app:layout_constraintWidth_default="wrap" style="@style/UiKit.TextView.Semibold" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_200" android:id="@id/progress_subtext" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintBaseline_toBaselineOf="@id/progress_text" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHeight_default="wrap" app:layout_constraintLeft_toRightOf="@id/progress_text" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/progress_text" />
<ProgressBar android:id="@id/progress_bar" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:maxHeight="1.0dip" android:max="100" android:minHeight="1.0dip" app:layout_constrainedHeight="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHeight_default="wrap" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/progress_text" style="@style/Widget.AppCompat.ProgressBar.Horizontal" />
<ProgressBar android:id="@id/progress_bar" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:maxHeight="1.0dip" android:max="100" android:minHeight="1.0dip" app:layout_constrainedHeight="true" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintTop_toBottomOf="@id/progress_text" style="@style/Widget.AppCompat.ProgressBar.Horizontal" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -2,19 +2,25 @@
<androidx.constraintlayout.widget.ConstraintLayout android:background="?selectableItemBackground" android:paddingTop="@dimen/chat_cell_vertical_spacing_padding" android:paddingBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" style="@style/UiKit.ViewGroup"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<androidx.constraintlayout.widget.Guideline android:id="@id/uikit_chat_guideline" style="@style/UiKit.Chat.Guideline" />
<View android:id="@id/chat_list_item_embed_divider" android:background="?theme_chat_divider_embed" android:layout_width="4.0dip" android:layout_height="0.0dip" android:layout_marginRight="@dimen/uikit_spacing_large" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintRight_toLeftOf="@id/uikit_chat_guideline" app:layout_constraintTop_toTopOf="parent" />
<View android:id="@id/chat_list_item_embed_divider" android:background="?theme_chat_divider_embed" android:layout_width="2.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintRight_toLeftOf="@id/uikit_chat_guideline" app:layout_constraintTop_toTopOf="parent" />
<androidx.constraintlayout.widget.Guideline android:id="@id/uikit_chat_embed_guideline" app:layout_constraintGuide_begin="@dimen/uikit_guideline_chat_embed" style="@style/UiKit.Guideline" />
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_image_thumbnail" android:visibility="gone" android:layout_marginLeft="@dimen/uikit_spacing_large" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" app:overlayImage="@drawable/drawable_overlay_image_square" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" style="@style/UiKit.ImageView" />
<TextView android:textSize="9.5sp" android:textColor="@color/grey_1" android:id="@id/chat_list_item_embed_provider" android:background="?selectableItemBackground" android:visibility="gone" android:layout_width="0.0dip" app:layout_constraintLeft_toRightOf="@id/uikit_chat_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.TextView" />
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_author_icon" android:visibility="gone" android:layout_width="@dimen/embed_tiny_icon_size" android:layout_height="@dimen/embed_tiny_icon_size" app:layout_constraintBottom_toBottomOf="@id/chat_list_item_embed_author_text" app:layout_constraintLeft_toRightOf="@id/uikit_chat_guideline" app:layout_constraintTop_toTopOf="@id/chat_list_item_embed_author_text" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" />
<TextView android:textSize="9.5sp" android:textColor="@color/grey_1" android:id="@id/chat_list_item_embed_provider" android:background="?selectableItemBackground" android:visibility="gone" android:layout_width="0.0dip" app:layout_constraintEnd_toStartOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintStart_toEndOf="@id/uikit_chat_embed_guideline" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.TextView" />
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_author_icon" android:visibility="gone" android:layout_width="@dimen/embed_tiny_icon_size" android:layout_height="@dimen/embed_tiny_icon_size" app:layout_constraintBottom_toBottomOf="@id/chat_list_item_embed_author_text" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintTop_toTopOf="@id/chat_list_item_embed_author_text" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" />
<TextView android:textColor="?theme_chat_name" android:id="@id/chat_list_item_embed_author_text" android:visibility="gone" android:layout_width="0.0dip" android:layout_marginLeft="@dimen/embed_item_margin" android:layout_marginTop="@dimen/embed_item_margin" android:layout_toRightOf="@id/chat_list_item_embed_author_icon" app:layout_constraintEnd_toStartOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintLeft_toRightOf="@id/chat_list_item_embed_author_icon" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintStart_toEndOf="@id/chat_list_item_embed_author_icon" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_provider" app:layout_goneMarginLeft="0.0dip" app:layout_goneMarginStart="0.0dip" style="@style/UiKit.TextView.Semibold" />
<TextView android:textColor="@color/link_500" android:id="@id/chat_list_item_embed_title" android:background="?selectableItemBackground" android:layout_width="0.0dip" android:lineSpacingMultiplier="1.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_author_text" style="@style/UiKit.TextView.Semibold" />
<com.discord.utilities.view.text.LinkifiedTextView android:id="@id/chat_list_item_embed_description" android:background="?selectableItemBackground" android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/sample_channel_message" android:lineSpacingMultiplier="1.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_title" style="@style/UiKit.TextView" />
<LinearLayout android:id="@id/chat_list_item_embed_fields" android:layout_width="0.0dip" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_description" style="@style/UiKit.ViewGroup.LinearLayout" />
<TextView android:textColor="@color/link_500" android:id="@id/chat_list_item_embed_title" android:background="?selectableItemBackground" android:layout_width="0.0dip" android:lineSpacingMultiplier="1.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_author_text" style="@style/UiKit.TextView.Semibold" />
<com.discord.utilities.view.text.LinkifiedTextView android:id="@id/chat_list_item_embed_description" android:background="?selectableItemBackground" android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/sample_channel_message" android:lineSpacingMultiplier="1.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_title" style="@style/UiKit.TextView" />
<LinearLayout android:id="@id/chat_list_item_embed_fields" android:layout_width="0.0dip" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_description" style="@style/UiKit.ViewGroup.LinearLayout" />
<androidx.constraintlayout.widget.Barrier android:id="@id/chat_list_item_embed_barrier" android:layout_width="0.0dip" android:layout_height="0.0dip" app:barrierDirection="bottom" app:constraint_referenced_ids="chat_list_item_embed_description, chat_list_item_embed_title, chat_list_item_embed_image_thumbnail, chat_list_item_embed_fields, chat_list_item_embed_author_text, chat_list_item_embed_provider" />
<RelativeLayout android:id="@id/embed_image_container" android:visibility="gone" android:layout_width="wrap_content" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_guideline" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_barrier" style="@style/UiKit.ViewGroup">
<RelativeLayout android:id="@id/embed_image_container" android:visibility="gone" android:layout_width="wrap_content" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_barrier" style="@style/UiKit.ViewGroup">
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_image" android:layout_marginTop="@dimen/uikit_spacing_medium" app:overlayImage="@drawable/drawable_overlay_image_square" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" style="@style/UiKit.ImageView" />
<ImageView android:id="@id/chat_list_item_embed_image_icons" android:background="@drawable/drawable_overlay_image_rect" android:padding="@dimen/uikit_spacing_medium" android:src="@drawable/ic_play_arrow_white_24dp" android:layout_centerInParent="true" android:contentDescription="@string/sample_empty_string" style="@style/UiKit.ImageView" />
</RelativeLayout>
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_footer_icon" android:layout_width="@dimen/embed_tiny_icon_size" android:layout_height="@dimen/embed_tiny_icon_size" android:layout_marginRight="@dimen/embed_item_margin" app:layout_constraintBottom_toBottomOf="@id/chat_list_item_embed_footer_text" app:layout_constraintLeft_toRightOf="@id/uikit_chat_guideline" app:layout_constraintTop_toTopOf="@id/chat_list_item_embed_footer_text" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" />
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_footer_icon" android:layout_width="@dimen/embed_tiny_icon_size" android:layout_height="@dimen/embed_tiny_icon_size" android:layout_marginRight="@dimen/embed_item_margin" app:layout_constraintBottom_toBottomOf="@id/chat_list_item_embed_footer_text" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintTop_toTopOf="@id/chat_list_item_embed_footer_text" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" />
<TextView android:textSize="@dimen/uikit_textsize_small" android:id="@id/chat_list_item_embed_footer_text" android:layout_width="0.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_small" android:layout_toRightOf="@id/chat_list_item_embed_footer_icon" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/chat_list_item_embed_footer_icon" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/chat_list_item_embed_footer_icon" app:layout_constraintTop_toBottomOf="@id/embed_image_container" app:layout_goneMarginLeft="0.0dip" app:layout_goneMarginStart="0.0dip" style="@style/UiKit.TextView.Semibold" />
<FrameLayout android:id="@id/chat_list_item_embed_spoiler" android:background="?theme_chat_spoiler_bg" android:layout_width="0.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toRightOf="@id/chat_list_item_embed_divider" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent">
<androidx.cardview.widget.CardView android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" app:cardBackgroundColor="@color/black_alpha_60" app:cardCornerRadius="@dimen/uikit_spacing_large">
<TextView android:textColor="@color/primary_200" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingTop="@dimen/uikit_spacing_small" android:paddingRight="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_small" android:layout_marginLeft="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/uikit_spacing_small" android:text="@string/spoiler" android:textAllCaps="true" style="@style/UiKit.TextView.H2" />
</androidx.cardview.widget.CardView>
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -1,12 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:background="?chat_embed_bg" android:layout_width="@dimen/chat_embed_width" android:layout_height="@dimen/chat_embed_height" android:layout_marginLeft="60.0dip" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" android:layout_marginBottom="@dimen/chat_cell_vertical_spacing_padding"
<androidx.constraintlayout.widget.ConstraintLayout style="@style/UiKit.Chat.Embed.Container"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/item_game_invite_cover_image" android:background="@drawable/drawable_game_invite_cover_image_background" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" android:alpha="0.4" app:roundBottomLeft="false" app:roundTopLeft="false" app:roundedCornerRadius="4.0dip" app:viewAspectRatio="1.0" />
<View android:background="@drawable/drawable_game_invite_gradient_overlay" android:visibility="visible" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignLeft="@id/item_game_invite_cover_image" android:layout_alignTop="@id/item_game_invite_cover_image" android:layout_alignBottom="@id/item_game_invite_cover_image" />
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/item_game_invite_cover_image" android:background="@drawable/drawable_game_invite_cover_image_background" android:layout_width="0.0dip" android:layout_height="128.0dip" android:alpha="0.4" app:layout_constrainedHeight="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="1.0" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" app:overlayImage="@drawable/drawable_game_invite_gradient_overlay" app:roundBottomLeft="false" app:roundTopLeft="false" app:roundedCornerRadius="4.0dip" app:viewAspectRatio="1.0" />
<TextView android:id="@id/item_game_invite_header" style="@style/UiKit.Chat.Embed.Header" />
<TextView android:textSize="18.0sp" android:textColor="?primary_100" android:id="@id/item_game_invite_status" android:layout_below="@id/item_game_invite_header" android:layout_alignLeft="@id/item_game_invite_header" style="@style/UiKit.TextView" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="@dimen/avatar_size_standard" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" android:layout_toLeftOf="@id/item_game_invite_application_name" android:layout_alignParentLeft="true" android:layout_alignParentBottom="true" style="@style/UiKit.View.HiddenOnSmallScreens">
<androidx.recyclerview.widget.RecyclerView android:id="@id/item_game_invite_recycler" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.RecyclerView.Horizontal" />
</RelativeLayout>
<TextView android:id="@id/item_game_invite_application_name" android:layout_width="@dimen/chat_embed_game_title_width" android:maxLines="2" style="@style/UiKit.Chat.Embed.Footer" />
</RelativeLayout>
<TextView android:textSize="18.0sp" android:textColor="?primary_100" android:id="@id/item_game_invite_status" android:layout_marginTop="@dimen/uikit_spacing_medium" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toLeftOf="@id/item_game_invite_header" app:layout_constraintStart_toStartOf="@id/item_game_invite_header" app:layout_constraintTop_toBottomOf="@id/item_game_invite_header" style="@style/UiKit.TextView" />
<androidx.recyclerview.widget.RecyclerView android:id="@id/item_game_invite_recycler" android:layout_width="0.0dip" android:layout_height="@dimen/avatar_size_standard" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/item_game_invite_cover_image" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/item_game_invite_cover_image" app:layout_constraintStart_toStartOf="parent" style="@style/UiKit.ViewGroup.RecyclerView.Horizontal" />
<TextView android:gravity="end" android:id="@id/item_game_invite_application_name" android:layout_width="0.0dip" android:layout_height="wrap_content" android:maxLines="2" app:layout_constraintLeft_toLeftOf="@id/item_game_invite_cover_image" app:layout_constraintStart_toStartOf="@id/item_game_invite_cover_image" style="@style/UiKit.Chat.Embed.Footer" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -1,19 +1,22 @@
<?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"
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/item_listen_together_container" style="@style/UiKit.Chat.Embed.Container"
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">
<FrameLayout android:layout_width="fill_parent" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="@id/item_gift_image" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent">
<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">
<com.discord.app.AppTextView android:id="@id/item_gift_header" 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_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/item_gift_header" app:placeholderImage="?ic_game_icon_placeholder" style="@style/Icon.Game" />
<LinearLayout android:id="@id/item_gift_details" android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:minHeight="50.0dip" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/item_gift_image" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/item_gift_image" app:layout_constraintTop_toBottomOf="@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>
<androidx.constraintlayout.widget.Barrier android:id="@id/barrier" android:layout_width="wrap_content" android:layout_height="wrap_content" app:barrierDirection="bottom" app:constraint_referenced_ids="item_gift_image,item_gift_details" />
<TextView android:id="@id/item_gift_subtext" android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toLeftOf="@id/item_gift_image" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toStartOf="@id/item_gift_image" app:layout_constraintTop_toBottomOf="@id/barrier" style="@style/UiKit.Chat.Embed.Subtext" />
<FrameLayout android:paddingBottom="@dimen/uikit_spacing_medium" android:layout_width="0.0dip" 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" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/item_gift_subtext">
<Button android:id="@id/item_gift_cannot_claim_button" android:visibility="gone" android:text="@string/gift_embed_button_claimed" style="@style/UiKit.GiftEmbedDisabledButton" />
<Button android:id="@id/item_gift_accept_button" android:visibility="gone" android:text="@string/gift_embed_button_accept" style="@style/UiKit.Button.Green" />
<Button android:id="@id/item_gift_verify_button" android:visibility="gone" android:text="@string/verify_account" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@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_marginTop="6.0dip" style="@style/UiKit.Button" />
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -1,18 +1,20 @@
<?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"
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/item_listen_together_container" style="@style/UiKit.Chat.Embed.Container"
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">
<com.discord.app.AppTextView android:id="@id/item_invite_header" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/invite_button_resolving" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" 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_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/item_invite_header" app:roundAsCircle="true" />
<TextView android:textColor="@color/white" android:ellipsize="end" 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:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:maxLines="1" android:singleLine="true" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/item_invite_header" style="@style/UiKit.TextView" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_100" android:id="@id/item_invite_name" android:layout_width="0.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/item_invite_image" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/item_invite_image" app:layout_constraintTop_toBottomOf="@id/item_invite_header" style="@style/UiKit.TextView.Marquee" />
<LinearLayout android:gravity="center_vertical" android:id="@id/item_invite_member_container" android:layout_width="0.0dip" 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" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/item_invite_image" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/item_invite_image" app:layout_constraintTop_toBottomOf="@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>
<FrameLayout android:paddingBottom="@dimen/uikit_spacing_medium" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/join_server" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/item_invite_image">
<Button android:id="@id/item_invite_joined_button" android:visibility="gone" android:text="@string/joined_server" style="@style/UiKit.Button.White.Outline.Themed" />
<Button android:id="@id/item_invite_join_button" android:text="@string/join_server" style="@style/UiKit.Button.Green" />
<Button android:id="@id/item_invite_mention_button" android:visibility="gone" android:text="@string/mention" 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:text="@string/mention" style="@style/UiKit.Button" />
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -1,13 +1,12 @@
<?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="@dimen/chat_listen_embed_height" android:layout_marginLeft="60.0dip" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" android:layout_marginBottom="@dimen/chat_cell_vertical_spacing_padding"
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/item_listen_together_container" android:layout_height="@dimen/chat_listen_embed_height" style="@style/UiKit.Chat.Embed.Container"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<TextView android:id="@id/item_listen_together_header" style="@style/UiKit.Chat.Embed.Header" />
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/item_listen_together_album_image" android:layout_width="42.0dip" android:layout_height="42.0dip" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_below="@id/item_listen_together_header" android:layout_alignParentLeft="true" app:roundedCornerRadius="4.0dip" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_100" android:id="@id/item_listen_together_session_ended" android:visibility="gone" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:text="@string/invite_embed_listen_has_ended" android:singleLine="true" android:layout_below="@id/item_listen_together_header" android:layout_alignParentLeft="true" style="@style/UiKit.TextView" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_100" android:id="@id/item_listen_together_track" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_toRightOf="@id/item_listen_together_album_image" android:layout_below="@id/item_listen_together_header" style="@style/UiKit.TextView.Marquee" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_100" android:id="@id/item_listen_together_artist" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_toRightOf="@id/item_listen_together_album_image" android:layout_below="@id/item_listen_together_track" style="@style/UiKit.TextView.Marquee" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="@dimen/avatar_size_standard" android:layout_marginLeft="@dimen/embed_user_padding" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/embed_user_padding" android:layout_toLeftOf="@id/item_listen_together_join" android:layout_alignParentLeft="true" android:layout_alignParentBottom="true" style="@style/UiKit.View.HiddenOnSmallScreens">
<androidx.recyclerview.widget.RecyclerView android:id="@id/item_listen_together_recycler" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.RecyclerView.Horizontal" />
</RelativeLayout>
<TextView android:id="@id/item_listen_together_join" android:text="@string/invite_embed_join_via_desktop_app" android:singleLine="true" style="@style/UiKit.Chat.Embed.Footer" />
</RelativeLayout>
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/item_listen_together_album_image" android:layout_width="42.0dip" android:layout_height="42.0dip" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/margin" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/item_listen_together_header" app:roundedCornerRadius="4.0dip" />
<TextView android:id="@id/item_listen_together_session_ended" android:visibility="gone" android:layout_margin="@dimen/uikit_spacing_large" android:text="@string/invite_embed_listen_has_ended" app:layout_constrainedWidth="true" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/item_listen_together_header" style="@style/UiKit.TextView.Large.SingleLine" />
<TextView android:ellipsize="marquee" android:id="@id/item_listen_together_track" android:layout_width="0.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:marqueeRepeatLimit="marquee_forever" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/item_listen_together_album_image" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/item_listen_together_album_image" app:layout_constraintTop_toBottomOf="@id/item_listen_together_header" style="@style/UiKit.TextView.Large.SingleLine" />
<TextView android:id="@id/item_listen_together_artist" android:layout_width="0.0dip" app:layout_constraintEnd_toEndOf="@id/item_listen_together_track" app:layout_constraintLeft_toLeftOf="@id/item_listen_together_track" app:layout_constraintRight_toRightOf="@id/item_listen_together_track" app:layout_constraintStart_toStartOf="@id/item_listen_together_track" app:layout_constraintTop_toBottomOf="@id/item_listen_together_track" style="@style/UiKit.TextView.Marquee" />
<androidx.constraintlayout.widget.Barrier android:id="@id/barrier" android:layout_width="fill_parent" android:layout_height="wrap_content" app:barrierDirection="bottom" app:constraint_referenced_ids="item_listen_together_album_image,item_listen_together_artist" />
<androidx.recyclerview.widget.RecyclerView android:id="@id/item_listen_together_recycler" android:layout_width="0.0dip" android:layout_height="@dimen/avatar_size_standard" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_large" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/item_listen_together_join" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/item_listen_together_join" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/barrier" style="@style/UiKit.ViewGroup.RecyclerView.Horizontal" />
<TextView android:id="@id/item_listen_together_join" android:text="@string/invite_embed_join_via_desktop_app" style="@style/UiKit.Chat.Embed.Footer" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:background="?selectableItemBackground" android:paddingLeft="47.0dip" android:paddingRight="@dimen/chat_cell_horizontal_spacing_total" android:layout_width="fill_parent" android:layout_height="wrap_content"
<FrameLayout android:background="?selectableItemBackground" android:paddingLeft="@dimen/uikit_guideline_chat" android:paddingRight="@dimen/chat_cell_horizontal_spacing_total" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.discord.utilities.view.text.LinkifiedTextView android:textSize="13.75sp" android:textColor="?theme_chat_text" android:textColorLink="@color/link_500" android:gravity="center_vertical" android:id="@id/chat_list_adapter_item_text" android:layout_width="fill_parent" android:layout_marginLeft="@dimen/chat_cell_horizontal_spacing_total" android:layout_marginBottom="2.0dip" android:minHeight="19.0dip" android:lineSpacingMultiplier="1.1" style="@style/UiKit.TextView" />
</RelativeLayout>
<com.discord.utilities.view.text.LinkifiedTextView android:textSize="13.75sp" android:textColor="?theme_chat_text" android:textColorLink="@color/link_500" android:gravity="center_vertical" android:id="@id/chat_list_adapter_item_text" android:layout_width="fill_parent" android:layout_marginBottom="2.0dip" android:minHeight="19.0dip" android:lineSpacingMultiplier="1.1" style="@style/UiKit.TextView" />
</FrameLayout>

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:paddingLeft="@dimen/chat_cell_horizontal_spacing_padding" android:paddingTop="@dimen/chat_cell_vertical_spacing_padding" android:paddingRight="@dimen/chat_cell_horizontal_spacing_padding" android:paddingBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/chat_cell_horizontal_spacing_margin" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_margin"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/chat_list_adapter_item_start_image" android:layout_width="98.4375dip" android:layout_height="75.9375dip" android:layout_marginTop="10.0dip" android:src="@drawable/asset_mascot_grey_left" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:layout_centerInParent="true" android:contentDescription="@string/sample_empty_string" />
<com.discord.app.AppTextView android:textSize="13.75sp" android:textColor="?theme_chat_text" android:textColorLink="@color/link_500" android:id="@id/chat_list_adapter_item_start" android:paddingTop="10.0dip" android:paddingBottom="10.0dip" android:layout_width="fill_parent" android:text="@string/beginning_channel" android:layout_below="@id/chat_list_adapter_item_start_image" style="@style/UiKit.TextView" />
<ImageView android:id="@id/chat_list_adapter_item_start_image" android:layout_width="98.0dip" android:layout_height="76.0dip" android:layout_marginTop="10.0dip" android:src="@drawable/asset_mascot_grey_left" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:layout_centerInParent="true" android:contentDescription="@string/sample_empty_string" />
<com.discord.app.AppTextView android:textColor="?theme_chat_text" android:id="@id/chat_list_adapter_item_start" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:text="@string/beginning_channel" android:layout_below="@id/chat_list_adapter_item_start_image" style="@style/UiKit.TextView" />
</RelativeLayout>

View file

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:paddingLeft="@dimen/chat_cell_horizontal_spacing_padding" android:paddingTop="@dimen/chat_cell_vertical_spacing_padding" android:paddingRight="@dimen/chat_cell_horizontal_spacing_padding" android:paddingBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/chat_cell_horizontal_spacing_margin" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_margin"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/chat_list_adapter_item_system_icon" android:layout_width="@dimen/avatar_size_small" android:layout_height="@dimen/avatar_size_small" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" android:layout_centerVertical="true" android:contentDescription="@string/sample_empty_string" />
<ImageView android:id="@id/chat_list_adapter_item_system_icon" android:layout_width="@dimen/avatar_size_small" android:layout_height="@dimen/avatar_size_small" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" android:layout_centerVertical="true" android:importantForAccessibility="no" />
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_toRightOf="@id/chat_list_adapter_item_system_icon" android:layout_centerVertical="true">
<TextView android:textSize="13.75sp" android:textColor="?theme_chat_text" android:id="@id/chat_list_adapter_item_system_text" android:layout_width="fill_parent" style="@style/UiKit.TextView" />
<TextView android:textSize="9.5sp" android:textColor="?theme_chat_timestamp" android:gravity="center_vertical" android:id="@id/chat_list_adapter_item_system_timestamp" android:layout_marginBottom="1.0dip" android:maxWidth="150.0dip" android:text="@string/sample_time_pm" android:singleLine="true" style="@style/UiKit.TextView" />
<TextView android:textColor="?theme_chat_text" android:id="@id/chat_list_adapter_item_system_text" android:layout_width="fill_parent" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView.Large" />
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?theme_chat_timestamp" android:gravity="center_vertical" android:id="@id/chat_list_adapter_item_system_timestamp" android:layout_marginBottom="1.0dip" android:maxWidth="150.0dip" android:text="@string/sample_time_pm" android:singleLine="true" style="@style/UiKit.TextView" />
</LinearLayout>
</RelativeLayout>

View file

@ -1,11 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:background="?selectableItemBackground" android:paddingLeft="@dimen/chat_cell_horizontal_spacing_total" android:paddingTop="@dimen/chat_cell_vertical_spacing_padding" android:paddingRight="@dimen/chat_cell_horizontal_spacing_total" android:paddingBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_width="fill_parent" android:layout_height="wrap_content"
<androidx.constraintlayout.widget.ConstraintLayout android:background="?selectableItemBackground" android:paddingTop="10.0dip" android:paddingRight="@dimen/chat_cell_horizontal_spacing_padding" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_adapter_item_text_avatar" android:layout_marginTop="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" android:importantForAccessibility="no" style="@style/Avatar.Standard" />
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/chat_list_adapter_item_text_header" android:layout_marginBottom="@dimen/uikit_spacing_small" android:layout_toRightOf="@id/chat_list_adapter_item_text_avatar" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<TextView android:textSize="13.75sp" android:textColor="?theme_chat_name" android:id="@id/chat_list_adapter_item_text_name" android:singleLine="true" app:layout_constrainedWidth="true" app:layout_constraintBaseline_toBaselineOf="@id/chat_list_adapter_item_text_bot" app:layout_constraintEnd_toStartOf="@id/chat_list_adapter_item_text_bot" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintHorizontal_chainStyle="packed" app:layout_constraintStart_toStartOf="parent" style="@style/UiKit.TextView" />
<androidx.constraintlayout.widget.Guideline android:id="@id/uikit_chat_guideline" style="@style/UiKit.Chat.Guideline" />
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_adapter_item_text_avatar" android:layout_marginLeft="8.0dip" android:layout_marginTop="@dimen/uikit_spacing_small" android:importantForAccessibility="no" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="@id/uikit_chat_guideline" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/uikit_chat_guideline" app:layout_constraintStart_toStartOf="parent" style="@style/Avatar.Chat" />
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/chat_list_adapter_item_text_header" android:layout_width="wrap_content" android:layout_height="0.0dip" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_guideline" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/uikit_chat_guideline" app:layout_constraintTop_toTopOf="@id/chat_list_adapter_item_text_avatar">
<TextView android:textColor="?theme_chat_name" android:id="@id/chat_list_adapter_item_text_name" android:lineSpacingMultiplier="1.0" app:layout_constrainedWidth="true" app:layout_constraintBaseline_toBaselineOf="@id/chat_list_adapter_item_text_bot" app:layout_constraintEnd_toStartOf="@id/chat_list_adapter_item_text_bot" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintHorizontal_chainStyle="packed" app:layout_constraintStart_toStartOf="parent" style="@style/UiKit.TextView.Large.SingleLine" />
<TextView android:textSize="9.5sp" android:textColor="@color/white" android:id="@id/chat_list_adapter_item_text_bot" android:background="@drawable/drawable_button_purple_neutral" android:paddingLeft="3.0dip" android:paddingTop="0.5dip" android:paddingRight="3.0dip" android:paddingBottom="0.5dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginBottom="1.0dip" android:text="BOT" android:singleLine="true" app:layout_constraintEnd_toStartOf="@id/chat_list_adapter_item_text_timestamp" app:layout_constraintStart_toEndOf="@id/chat_list_adapter_item_text_name" style="@style/UiKit.TextView" />
<TextView android:textSize="9.5sp" android:textColor="?theme_chat_timestamp" android:gravity="center_vertical" android:id="@id/chat_list_adapter_item_text_timestamp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginBottom="1.0dip" android:maxWidth="150.0dip" android:singleLine="true" app:layout_constraintBaseline_toBaselineOf="@id/chat_list_adapter_item_text_name" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/chat_list_adapter_item_text_bot" style="@style/UiKit.TextView" />
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?theme_chat_timestamp" android:gravity="center_vertical" android:id="@id/chat_list_adapter_item_text_timestamp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="6.0dip" android:layout_marginBottom="1.0dip" android:maxWidth="150.0dip" android:singleLine="true" app:layout_constraintBaseline_toBaselineOf="@id/chat_list_adapter_item_text_name" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/chat_list_adapter_item_text_bot" style="@style/UiKit.TextView" />
</androidx.constraintlayout.widget.ConstraintLayout>
<com.discord.utilities.view.text.LinkifiedTextView android:textSize="13.75sp" android:textColor="?theme_chat_text" android:textColorLink="@color/link_500" android:id="@id/chat_list_adapter_item_text" android:layout_width="fill_parent" android:layout_toRightOf="@id/chat_list_adapter_item_text_avatar" android:layout_below="@id/chat_list_adapter_item_text_header" style="@style/UiKit.TextView" />
</RelativeLayout>
<com.discord.utilities.view.text.LinkifiedTextView android:textSize="13.75sp" android:textColor="?theme_chat_text" android:textColorLink="@color/link_500" android:id="@id/chat_list_adapter_item_text" android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_xsmall" android:layout_marginRight="@dimen/uikit_spacing_small" android:layout_marginBottom="2.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/uikit_chat_guideline" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/uikit_chat_guideline" app:layout_constraintTop_toBottomOf="@id/chat_list_adapter_item_text_header" style="@style/UiKit.TextView" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -2,6 +2,6 @@
<RelativeLayout android:orientation="vertical" android:paddingLeft="@dimen/chat_cell_horizontal_spacing_total" android:paddingTop="@dimen/chat_cell_vertical_spacing_padding" android:paddingRight="@dimen/chat_cell_horizontal_spacing_total" android:paddingBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<View android:id="@id/chat_list_item_divider_stroke_left" android:layout_width="fill_parent" android:layout_height="0.25dip" android:layout_toLeftOf="@id/chat_list_item_divider_text" android:layout_centerInParent="true" />
<TextView android:textSize="11.0sp" android:gravity="center" android:id="@id/chat_list_item_divider_text" android:paddingLeft="@dimen/chat_cell_horizontal_spacing_padding" android:paddingRight="@dimen/chat_cell_horizontal_spacing_padding" android:layout_centerInParent="true" style="@style/UiKit.TextView.Semibold" />
<TextView android:textSize="@dimen/uikit_textsize_small" android:gravity="center" android:id="@id/chat_list_item_divider_text" android:paddingLeft="@dimen/chat_cell_horizontal_spacing_padding" android:paddingRight="@dimen/chat_cell_horizontal_spacing_padding" android:layout_centerInParent="true" style="@style/UiKit.TextView.Semibold" />
<View android:id="@id/chat_list_item_divider_stroke_right" android:layout_width="fill_parent" android:layout_height="0.25dip" android:layout_toRightOf="@id/chat_list_item_divider_text" android:layout_centerInParent="true" />
</RelativeLayout>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="horizontal" android:background="?chat_embed_bg" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="60.0dip" android:layout_marginTop="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" android:layout_marginBottom="@dimen/chat_cell_vertical_spacing_padding" android:maxWidth="400.0dip" android:weightSum="1.0" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal"
<LinearLayout android:orientation="horizontal" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false" style="@style/UiKit.Chat.Embed.Container"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="@dimen/uikit_spacing_medium" android:layout_weight="0.05" style="@style/UiKit.ViewGroup.LinearLayout">
<com.discord.views.UploadProgressView android:id="@id/upload_progress_1" android:layout_width="fill_parent" android:layout_height="wrap_content" />
@ -7,7 +7,7 @@
<com.discord.views.UploadProgressView android:id="@id/upload_progress_3" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</LinearLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="0.9">
<ImageView android:id="@id/progress_cancel_top" android:background="?selectableItemBackground" android:layout_width="18.0dip" android:layout_height="18.0dip" android:layout_marginTop="@dimen/uikit_spacing_small" android:src="@drawable/ic_close_white_24dp" android:contentDescription="@string/cancel" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/progress_cancel_centered" android:background="?selectableItemBackground" android:layout_width="18.0dip" android:layout_height="18.0dip" android:src="@drawable/ic_close_white_24dp" android:contentDescription="@string/cancel" />
<ImageView android:id="@id/progress_cancel_top" android:background="?selectableItemBackground" android:layout_width="18.0dip" android:layout_height="18.0dip" android:layout_marginTop="@dimen/uikit_spacing_small" android:src="@drawable/ic_close_primary_200_24dp" android:contentDescription="@string/cancel" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/progress_cancel_centered" android:background="?selectableItemBackground" android:layout_width="18.0dip" android:layout_height="18.0dip" android:src="@drawable/ic_close_primary_200_24dp" android:contentDescription="@string/cancel" />
</FrameLayout>
</LinearLayout>

View file

@ -108,24 +108,39 @@
<item name="android:layout_alignParentRight">true</item>
<item name="android:layout_alignParentEnd">true</item>
</style>
<style name="UiKit.Chat.Embed.Container" parent="@style/UiKit.ViewGroup.ConstraintLayout">
<item name="android:background">?chat_embed_bg</item>
<item name="android:layout_marginLeft">@dimen/uikit_guideline_chat</item>
<item name="android:layout_marginTop">@dimen/chat_cell_vertical_spacing_padding</item>
<item name="android:layout_marginRight">@dimen/chat_cell_horizontal_spacing_total</item>
<item name="android:layout_marginBottom">@dimen/chat_cell_vertical_spacing_padding</item>
<item name="android:maxWidth">@dimen/chat_embed_width</item>
<item name="android:minWidth">220.0dip</item>
<item name="android:layout_marginStart">@dimen/uikit_guideline_chat</item>
<item name="android:layout_marginEnd">@dimen/chat_cell_horizontal_spacing_total</item>
</style>
<style name="UiKit.Chat.Embed.Footer" parent="@style/UiKit.TextView.Bold">
<item name="android:textColor">?primary_100</item>
<item name="android:gravity">end|bottom|center</item>
<item name="android:layout_marginRight">@dimen/uikit_spacing_large</item>
<item name="android:layout_marginBottom">@dimen/uikit_spacing_large</item>
<item name="android:layout_alignParentRight">true</item>
<item name="android:layout_alignParentBottom">true</item>
<item name="android:layout_marginEnd">@dimen/uikit_spacing_large</item>
<item name="android:layout_alignParentEnd">true</item>
<item name="layout_constraintBottom_toBottomOf">parent</item>
<item name="layout_constraintEnd_toEndOf">parent</item>
<item name="layout_constraintRight_toRightOf">parent</item>
</style>
<style name="UiKit.Chat.Embed.Header" parent="@style/UiKit.TextView.Bold">
<item name="android:textSize">@dimen/uikit_textsize_small</item>
<item name="android:textColor">?primary_300</item>
<item name="android:layout_marginLeft">@dimen/uikit_spacing_large</item>
<item name="android:layout_marginTop">@dimen/uikit_spacing_large</item>
<item name="android:layout_marginBottom">@dimen/uikit_spacing_large</item>
<item name="android:layout_marginTop">@dimen/uikit_spacing_medium</item>
<item name="android:layout_marginBottom">@dimen/uikit_spacing_medium</item>
<item name="android:textAllCaps">true</item>
<item name="android:layout_marginStart">@dimen/uikit_spacing_large</item>
<item name="layout_constrainedWidth">true</item>
<item name="layout_constraintEnd_toEndOf">parent</item>
<item name="layout_constraintHorizontal_bias">0.0</item>
<item name="layout_constraintStart_toStartOf">parent</item>
<item name="layout_constraintTop_toTopOf">parent</item>
</style>
<style name="UiKit.Checkbox" parent="">
<item name="android:textSize">@dimen/uikit_textsize_medium</item>

View file

@ -420,6 +420,18 @@
<item name="fontFamily">sans-serif-medium</item>
</style>
<style name="Theme.AppInvite.Preview.Base" parent="@android:style/Theme.Material.Light.DialogWhenLarge.NoActionBar" />
<style name="UiKit.Chat.Embed.Container" parent="@style/UiKit.ViewGroup.ConstraintLayout">
<item name="android:background">?chat_embed_bg</item>
<item name="android:layout_marginLeft">@dimen/uikit_guideline_chat</item>
<item name="android:layout_marginTop">@dimen/chat_cell_vertical_spacing_padding</item>
<item name="android:layout_marginRight">@dimen/chat_cell_horizontal_spacing_total</item>
<item name="android:layout_marginBottom">@dimen/chat_cell_vertical_spacing_padding</item>
<item name="android:maxWidth">@dimen/chat_embed_width</item>
<item name="android:minWidth">220.0dip</item>
<item name="android:layout_marginStart">@dimen/uikit_guideline_chat</item>
<item name="android:layout_marginEnd">@dimen/chat_cell_horizontal_spacing_total</item>
<item name="android:elevation">4.0dip</item>
</style>
<style name="UiKit.FloatingActionButton" parent="">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="chat_embed_game_title_width">110.0dip</dimen>
<dimen name="chat_embed_width">304.0dip</dimen>
<dimen name="nav_panel_width">340.0dip</dimen>
<dimen name="chat_embed_game_title_width">110.0dip</dimen>
</resources>

View file

@ -1239,6 +1239,7 @@
<attr name="theme_chat_reaction_text_color" format="reference" />
<attr name="theme_chat_spoiler_bg" format="reference|color" />
<attr name="theme_chat_spoiler_bg_visible" format="reference|color" />
<attr name="theme_chat_spoiler_inapp_bg" format="reference|color" />
<attr name="theme_chat_text" format="reference|color" />
<attr name="theme_chat_timestamp" format="reference|color" />
<attr name="theme_emoji_icon_activity" format="reference" />

View file

@ -79,6 +79,7 @@
<dimen name="app_elevation">4.0dip</dimen>
<dimen name="attachment_preview_dimen">48.0dip</dimen>
<dimen name="avatar_overlap">14.0dip</dimen>
<dimen name="avatar_size_chat">38.0dip</dimen>
<dimen name="avatar_size_extra_extra_large">90.0dip</dimen>
<dimen name="avatar_size_extra_large">60.0dip</dimen>
<dimen name="avatar_size_hero">128.0dip</dimen>
@ -106,13 +107,11 @@
<dimen name="cardview_default_radius">2.0dip</dimen>
<dimen name="channel_list_placeholder_height">14.0dip</dimen>
<dimen name="channel_list_row_height">50.0dip</dimen>
<dimen name="chat_cell_horizontal_spacing_margin">5.0dip</dimen>
<dimen name="chat_cell_horizontal_spacing_padding">10.0dip</dimen>
<dimen name="chat_cell_horizontal_spacing_total">15.0dip</dimen>
<dimen name="chat_cell_horizontal_spacing_margin">2.0dip</dimen>
<dimen name="chat_cell_horizontal_spacing_padding">8.0dip</dimen>
<dimen name="chat_cell_horizontal_spacing_total">12.0dip</dimen>
<dimen name="chat_cell_vertical_spacing_padding">5.0dip</dimen>
<dimen name="chat_embed_game_title_width">160.0dip</dimen>
<dimen name="chat_embed_height">128.0dip</dimen>
<dimen name="chat_embed_width">240.0dip</dimen>
<dimen name="chat_embed_width">600.0dip</dimen>
<dimen name="chat_input_autocomplete_name_max_width">128.0dip</dimen>
<dimen name="chat_input_emoji_size">48.0dip</dimen>
<dimen name="chat_listen_embed_height">136.0dip</dimen>
@ -331,7 +330,8 @@
<dimen name="uikit_btn_padding_vertical">4.0dip</dimen>
<dimen name="uikit_btn_stroke_width">0.75dip</dimen>
<dimen name="uikit_btn_wrapped_min_width">96.0dip</dimen>
<dimen name="uikit_guideline_chat">62.0dip</dimen>
<dimen name="uikit_guideline_chat">58.0dip</dimen>
<dimen name="uikit_guideline_chat_embed">62.0dip</dimen>
<dimen name="uikit_guideline_item_row">48.0dip</dimen>
<dimen name="uikit_guideline_sheet">72.0dip</dimen>
<dimen name="uikit_image_border_size">3.0dip</dimen>

View file

@ -353,6 +353,7 @@
<item type="id" name="chat_list_item_embed_image_icons" />
<item type="id" name="chat_list_item_embed_image_thumbnail" />
<item type="id" name="chat_list_item_embed_provider" />
<item type="id" name="chat_list_item_embed_spoiler" />
<item type="id" name="chat_list_item_embed_title" />
<item type="id" name="chat_list_item_mention_footer_divider" />
<item type="id" name="chat_list_item_mention_footer_hand" />
@ -726,6 +727,7 @@
<item type="id" name="item_game_invite_status" />
<item type="id" name="item_gift_accept_button" />
<item type="id" name="item_gift_cannot_claim_button" />
<item type="id" name="item_gift_details" />
<item type="id" name="item_gift_expires" />
<item type="id" name="item_gift_header" />
<item type="id" name="item_gift_image" />
@ -1382,6 +1384,7 @@
<item type="id" name="ucrop" />
<item type="id" name="ucrop_frame" />
<item type="id" name="ucrop_photobox" />
<item type="id" name="uikit_chat_embed_guideline" />
<item type="id" name="uikit_chat_guideline" />
<item type="id" name="uikit_sheet_header_guideline" />
<item type="id" name="unhandled_uri_display" />

File diff suppressed because it is too large Load diff

View file

@ -232,7 +232,7 @@
<string name="application_store_browse_sort_title_reverse_alphabetical">Title (Z-A)</string>
<string name="application_store_bundle_purchase_confirmation_blurb">%1$s was purchased and its contents are now available in your library.</string>
<string name="application_store_buy">Buy</string>
<string name="application_store_buy_as_gift">Buy as gift</string>
<string name="application_store_buy_as_gift">Buy as Gift</string>
<string name="application_store_buy_for_price">Buy for %1$s</string>
<string name="application_store_buy_gift">Buy Gift</string>
<string name="application_store_cloud_saves">Cloud Saves</string>
@ -612,6 +612,7 @@
<string name="billing_gift_link">Gift Link</string>
<string name="billing_gift_purchase_tooltip">This was a gift</string>
<string name="billing_gift_refund_text">A refund can be requested if this purchase was made in the last %1$s days and the gift has not been redeemed. [Our friendly help desk will help you get your coins back.](%2$s)</string>
<string name="billing_gift_refund_text_unable">"We're sorry, this purchase is not eligible for refunds. A refund can be requested if this purchase was made in the last %1$s days and the gift has not been redeemed."</string>
<string name="billing_history">Billing History</string>
<string name="billing_is_gift_purchase">Is this a gift?</string>
<string name="billing_legal_mumbo_jumbo">Legal Mumbo Jumbo</string>
@ -859,7 +860,7 @@ SIDE TO SIDE {progress}
<string name="cloud_sync_modal_error_header">Unable to sync cloud saves</string>
<string name="cloud_sync_modal_or">OR</string>
<string name="collapse_category">Collapse Category</string>
<string name="com.crashlytics.android.build_id">37374364-faae-49f5-a6bb-b02717738c8f</string>
<string name="com.crashlytics.android.build_id">c98519ce-b2a0-4810-bc11-99a4ed80ba52</string>
<string name="coming_soon">Coming Soon</string>
<string name="coming_soon_notifications">Granular notification control only works on desktop apps at the moment. For now use the iOS notification settings.</string>
<string name="coming_soon_title">COMING SOON!</string>
@ -1628,8 +1629,8 @@ SIDE TO SIDE {progress}
<string name="gif">GIF</string>
<string name="gif_auto_play_label">Automatically play GIFs when Discord is focused.</string>
<string name="gif_picker_back_to_top">Click here to go back to the top.</string>
<string name="gif_picker_end_of_results">End of results.</string>
<string name="gif_picker_favorites">Favorites</string>
<string name="gif_picker_related_search">Your perfect GIF is in another castle. Try a related search!</string>
<string name="gif_picker_result_type_recent">Recent</string>
<string name="gif_picker_result_type_trending_gifs">Trending GIFs</string>
<string name="gif_tooltip_add_to_favorites">Add to Favorites</string>
@ -2557,8 +2558,12 @@ Want to know more about Discord?"</string>
<string name="no_emoji_body">None</string>
<string name="no_emoji_search_results">No emoji match your search</string>
<string name="no_emoji_title">No Emoji</string>
<string name="no_gif_favorites">No favorites here — find a gif and click the ⭐️ to add!</string>
<string name="no_gif_search_results">No GIFs match your search</string>
<string name="no_gif_favorites_flavor_favorite_please">Uh, go favorite them… please</string>
<string name="no_gif_favorites_flavor_still_here">Why uh are you still here?</string>
<string name="no_gif_favorites_go_favorite">So uhh… maybe go favorite some GIFs?</string>
<string name="no_gif_favorites_how_to_favorite">Click the star in the corner of a gif to favorite it</string>
<string name="no_gif_favorites_where_to_favorite">Favorites will show up here!</string>
<string name="no_gif_search_results">No GIFs match your search.</string>
<string name="no_input_devices">No Input Devices</string>
<string name="no_input_devices_detected">No input devices could be detected, please plug one in and try again.</string>
<string name="no_instant_invite">No Instant Invite</string>
@ -2930,6 +2935,11 @@ Want to know more about Discord?"</string>
<string name="premium_code_active_until">Discord Nitro is active on this account until %1$s.</string>
<string name="premium_code_redemption_confirmation_blurb">Thanks to a random string of digits, you now have enhanced chat perks for %1$s!</string>
<string name="premium_code_redemption_confirmation_button">Ooh, Sweet!</string>
<string name="premium_expiring_body">"You will lose access to Discord Nitro games and all of the Nitro chat perks. If you customized your Discord Tag, it will be randomized again.
To keep your sub, go to Settings and update your payment."</string>
<string name="premium_expiring_go_to_settings">Go to Settings</string>
<string name="premium_expiring_title">Your Nitro sub is about to end!</string>
<string name="premium_feature_new_chat_perks_header">You also get some enhanced chat perks:</string>
<string name="premium_feature_new_premium_applications_header">Over %1$s worth of games. Check them out:</string>
<string name="premium_feature_view_applications">View All Nitro Games</string>
@ -2983,6 +2993,7 @@ Want to know more about Discord?"</string>
<string name="premium_upgrade_confirm_body_detailed_year">"Upgrade to yearly and get two months free. Whatta deal!!! We'll prorate your current plan and deduct it from the yearly price. You will be charged **%1$s**."</string>
<string name="premium_upgrade_confirm_button">Upgrade</string>
<string name="premium_upgrade_confirm_title">Upgrade to %1$s</string>
<string name="premium_upgrade_disabled_already_premium">You cannot subscribe while you already have Nitro.</string>
<string name="premium_upgrade_disabled_current_tooltip">Your current plan.</string>
<string name="premium_upgrade_disabled_in_trial">You cannot upgrade during your trial.</string>
<string name="premium_upgrade_disabled_lower_tier_tooltip">You have to cancel first and let your sub expire before choosing a lower-tier plan.</string>
@ -2992,6 +3003,9 @@ Want to know more about Discord?"</string>
<string name="premium_upgrade_done_button_tier_2">Check out all Nitro Games</string>
<string name="premium_upgrade_failed_body">"Uhh.. That upgrade didn't work. Ensure your payment information is up to date and try again."</string>
<string name="premium_upload_promo">Upgrade to Discord Nitro for %1$s file limit</string>
<string name="premium_without_games_expiring_body">"You will lose access to all of the Nitro chat perks. If you customized your Discord Tag, it will be randomized again.
To keep your sub, go to Settings and update your payment."</string>
<string name="premium_year_free_months">Get 2 Months Free!</string>
<string name="premium_year_free_months_short">2 months free</string>
<string name="premium_year_subscription">**%1$s%2$s %3$s** / Year</string>
@ -3155,7 +3169,7 @@ Want to know more about Discord?"</string>
<string name="sample_number_bandwidth">43124 kbps</string>
<string name="sample_number_ratio">10/9000</string>
<string name="sample_online_members">46 Online</string>
<string name="sample_server_name">Overwatch Extreme Edition - Long Name</string>
<string name="sample_server_name">Overwatch Extreme Edition - Really Long Name</string>
<string name="sample_server_name_short">OEE,LN-999</string>
<string name="sample_server_role_name">Master Role, Cookaroo Tamer 55 asdas d dasd asd asdas as asd sd</string>
<string name="sample_time_duration_minutes">15 Minutes</string>
@ -4058,5 +4072,5 @@ Want to know more about Discord?"</string>
<string name="youre_viewing_older_messages">"You're viewing older messages"</string>
<string name="zh_cn">Chinese, China</string>
<string name="zh_tw">Chinese, Taiwan</string>
<item type="string" name="APKTOOL_DUMMY_2fb">false</item>
<item type="string" name="APKTOOL_DUMMY_2fc">false</item>
</resources>

View file

@ -346,6 +346,7 @@
<item name="theme_chat_reaction_text_color">@drawable/drawable_reaction_text_color_dark</item>
<item name="theme_chat_spoiler_bg">@color/primary_700</item>
<item name="theme_chat_spoiler_bg_visible">@color/white_alpha_10</item>
<item name="theme_chat_spoiler_inapp_bg">@color/primary_600</item>
<item name="theme_chat_text">@color/white_alpha_70</item>
<item name="theme_chat_timestamp">@color/white_alpha_20</item>
<item name="theme_emoji_icon_activity">@drawable/ic_emoji_activity_dark</item>
@ -691,8 +692,9 @@
<item name="theme_chat_name">@color/grey_channels</item>
<item name="theme_chat_reaction_background">@drawable/drawable_bg_reaction_light</item>
<item name="theme_chat_reaction_text_color">@drawable/drawable_reaction_text_color_light</item>
<item name="theme_chat_spoiler_bg">@color/primary_200</item>
<item name="theme_chat_spoiler_bg">@color/primary_300</item>
<item name="theme_chat_spoiler_bg_visible">@color/black_alpha_10</item>
<item name="theme_chat_spoiler_inapp_bg">@color/primary_300</item>
<item name="theme_chat_text">@color/grey_3</item>
<item name="theme_chat_timestamp">@color/grey_1</item>
<item name="theme_emoji_icon_activity">@drawable/ic_emoji_activity_light</item>
@ -807,6 +809,10 @@
<item name="placeholderImageScaleType">fitCenter</item>
<item name="roundAsCircle">true</item>
</style>
<style name="Avatar.Chat" parent="@style/Avatar.Large">
<item name="android:layout_width">@dimen/avatar_size_chat</item>
<item name="android:layout_height">@dimen/avatar_size_chat</item>
</style>
<style name="Avatar.Hero" parent="@style/Avatar">
<item name="android:layout_width">@dimen/avatar_size_hero</item>
<item name="android:layout_height">@dimen/avatar_size_hero</item>
@ -832,10 +838,9 @@
<item name="android:layout_height">@dimen/avatar_size_medium</item>
<item name="placeholderImage">@drawable/asset_default_avatar_32dp</item>
</style>
<style name="Avatar.Notification" parent="@style/Avatar">
<style name="Avatar.Notification" parent="@style/Avatar.Large">
<item name="android:layout_width">@dimen/avatar_size_notification</item>
<item name="android:layout_height">@dimen/avatar_size_notification</item>
<item name="placeholderImage">@drawable/asset_default_avatar_64dp</item>
</style>
<style name="Avatar.Small" parent="@style/Avatar">
<item name="android:layout_width">@dimen/avatar_size_small</item>
@ -3095,21 +3100,35 @@
<style name="UiKit.Calls.ButtonText" parent="@style/UiKit.TextView.Semibold">
<item name="android:textAllCaps">true</item>
</style>
<style name="UiKit.Chat.Embed.Container" parent="@style/UiKit.ViewGroup.ConstraintLayout">
<item name="android:background">?chat_embed_bg</item>
<item name="android:layout_marginLeft">@dimen/uikit_guideline_chat</item>
<item name="android:layout_marginTop">@dimen/chat_cell_vertical_spacing_padding</item>
<item name="android:layout_marginRight">@dimen/chat_cell_horizontal_spacing_total</item>
<item name="android:layout_marginBottom">@dimen/chat_cell_vertical_spacing_padding</item>
<item name="android:maxWidth">@dimen/chat_embed_width</item>
<item name="android:minWidth">220.0dip</item>
</style>
<style name="UiKit.Chat.Embed.Footer" parent="@style/UiKit.TextView.Bold">
<item name="android:textColor">?primary_100</item>
<item name="android:gravity">end|bottom|center</item>
<item name="android:layout_marginRight">@dimen/uikit_spacing_large</item>
<item name="android:layout_marginBottom">@dimen/uikit_spacing_large</item>
<item name="android:layout_alignParentRight">true</item>
<item name="android:layout_alignParentBottom">true</item>
<item name="layout_constraintBottom_toBottomOf">parent</item>
<item name="layout_constraintEnd_toEndOf">parent</item>
<item name="layout_constraintRight_toRightOf">parent</item>
</style>
<style name="UiKit.Chat.Embed.Header" parent="@style/UiKit.TextView.Bold">
<item name="android:textSize">@dimen/uikit_textsize_small</item>
<item name="android:textColor">?primary_300</item>
<item name="android:layout_marginLeft">@dimen/uikit_spacing_large</item>
<item name="android:layout_marginTop">@dimen/uikit_spacing_large</item>
<item name="android:layout_marginBottom">@dimen/uikit_spacing_large</item>
<item name="android:layout_marginTop">@dimen/uikit_spacing_medium</item>
<item name="android:layout_marginBottom">@dimen/uikit_spacing_medium</item>
<item name="android:textAllCaps">true</item>
<item name="layout_constrainedWidth">true</item>
<item name="layout_constraintEnd_toEndOf">parent</item>
<item name="layout_constraintHorizontal_bias">0.0</item>
<item name="layout_constraintStart_toStartOf">parent</item>
<item name="layout_constraintTop_toTopOf">parent</item>
</style>
<style name="UiKit.Chat.Embed.Subtext" parent="@style/UiKit.TextView.Subtext">
<item name="android:textColor">?primary_300</item>
@ -3687,6 +3706,7 @@
</style>
<style name="UiKit.TextView.Marquee" parent="@style/UiKit.TextView">
<item name="android:ellipsize">marquee</item>
<item name="android:maxLines">1</item>
<item name="android:singleLine">true</item>
<item name="android:marqueeRepeatLimit">marquee_forever</item>
</style>