apkfuckery/com.discord/res/layout/widget_chat_list_adapter_it...

12 lines
3.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<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_marginTop="16.0dip" android:layout_marginBottom="4.0dip" android:layout_marginStart="16.0dip" 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="16.0dip" 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_marginTop="16.0dip" android:marqueeRepeatLimit="marquee_forever" android:layout_marginStart="8.0dip" android:layout_marginEnd="16.0dip" 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_marginTop="8.0dip" android:layout_marginBottom="16.0dip" android:layout_marginStart="16.0dip" 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>