12 lines
3.7 KiB
XML
12 lines
3.7 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="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_small" 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_marginTop="@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_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>
|