12 lines
4.3 KiB
XML
12 lines
4.3 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" style="@style/UiKit_Chat_Embed_Container">
|
|
<TextView android:textColor="?attr/colorStatusPositiveBackground" android:id="@+id/item_invite_header" android:layout_marginBottom="8dp" android:text="@string/stage_channel_live_now" android:drawablePadding="4dp" app:drawableStartCompat="@drawable/stage_channel_live_dot" app:drawableTint="?attr/colorStatusPositiveBackground" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" style="@style/UiKit_Chat_Embed_Header"/>
|
|
<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/item_invite_image" android:layout_width="20dp" android:layout_height="20dp" android:layout_marginTop="12dp" android:layout_marginBottom="8dp" android:layout_marginStart="16dp" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/item_invite_header" app:roundWithOverlayColor="?attr/primary_630" app:roundedCornerRadius="4dp"/>
|
|
<TextView android:textColor="@color/white" android:ellipsize="end" android:gravity="center" android:id="@+id/item_invite_image_text" android:layout_width="20dp" android:layout_height="20dp" android:layout_marginTop="12dp" android:maxLines="1" android:singleLine="true" android:layout_marginStart="16dp" android:layout_marginEnd="16dp" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/item_invite_header" style="@style/UiKit_TextView"/>
|
|
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="?attr/colorHeaderSecondary" android:id="@+id/item_invite_guild_name" android:layout_width="wrap_content" android:layout_marginStart="8dp" android:layout_marginEnd="8dp" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="@+id/item_invite_image" app:layout_constraintEnd_toStartOf="@+id/item_listeners_count" app:layout_constraintHorizontal_bias="0" app:layout_constraintStart_toEndOf="@+id/item_invite_image" app:layout_constraintTop_toTopOf="@+id/item_invite_image" style="@style/UiKit_TextView_Marquee"/>
|
|
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="?attr/colorInteractiveNormal" android:gravity="center_vertical" android:id="@+id/item_listeners_count" android:background="@drawable/drawable_pill_background_tertiary" android:paddingLeft="8dp" android:paddingRight="8dp" android:drawablePadding="5dp" android:layout_marginStart="8dp" android:layout_marginEnd="16dp" app:drawableStartCompat="@drawable/ic_headset_10dp" app:drawableTint="?attr/colorInteractiveNormal" app:layout_constraintBottom_toBottomOf="@+id/item_invite_image" app:layout_constraintEnd_toEndOf="0" app:layout_constraintTop_toTopOf="@+id/item_invite_image" style="@style/UiKit_TextView"/>
|
|
<TextView android:textSize="16sp" android:textColor="?attr/colorHeaderPrimary" android:id="@+id/item_invite_channel_topic" android:layout_width="0dp" android:layout_marginLeft="16dp" android:layout_marginTop="12dp" android:layout_marginRight="16dp" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/item_invite_guild_name" style="@style/UiKit_TextView_Semibold"/>
|
|
<com.discord.views.stages.StageCardSpeakersView android:id="@+id/stage_discovery_speakers_view" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="12dp" android:layout_marginTop="12dp" android:layout_marginRight="12dp" android:layout_marginBottom="4dp" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/item_invite_channel_topic"/>
|
|
<com.google.android.material.button.MaterialButton android:id="@+id/item_invite_join_button" android:layout_margin="16dp" android:text="@string/stage_channel_join_button" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/stage_discovery_speakers_view" app:layout_goneMarginTop="8dp" style="@style/UiKit_Material_Button_Green"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|