11 lines
3.4 KiB
XML
11 lines
3.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/item_listen_together_container" android:layout_height="@dimen/chat_listen_embed_height" style="@style/UiKit_Chat_Embed_Container">
|
|
<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="42dp" android:layout_height="42dp" android:layout_marginTop="16dp" android:layout_marginBottom="4dp" android:layout_marginStart="16dp" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/item_listen_together_header" app:roundedCornerRadius="4dp"/>
|
|
<TextView android:id="@+id/item_listen_together_session_ended" android:visibility="gone" android:layout_margin="16dp" android:text="@string/invite_embed_listen_has_ended" app:layout_constrainedWidth="true" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintStart_toStartOf="0" 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="0dp" android:layout_marginTop="16dp" android:marqueeRepeatLimit="marquee_forever" android:layout_marginStart="8dp" android:layout_marginEnd="16dp" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="0" app:layout_constraintLeft_toRightOf="@+id/item_listen_together_album_image" app:layout_constraintRight_toRightOf="0" 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="0dp" 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="match_parent" android:layout_height="wrap_content" app:barrierDirection="3" 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="0dp" android:layout_height="@dimen/avatar_size_standard" android:layout_marginTop="8dp" android:layout_marginBottom="16dp" android:layout_marginStart="16dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toStartOf="@+id/item_listen_together_join" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintRight_toLeftOf="@+id/item_listen_together_join" app:layout_constraintStart_toStartOf="0" 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>
|