10 lines
3.5 KiB
XML
10 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<merge style="@style/UiKit.ViewGroup.ConstraintLayout"
|
|
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="128.0dip" android:layout_height="0.0dip" android:scaleType="centerCrop" android:alpha="0.4" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHeight_min="128.0dip" 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_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" />
|
|
<com.google.android.material.button.MaterialButton android:textAppearance="@style/UiKit.TextView" android:id="@id/item_game_invite_action_btn" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/game_action_button_play" app:backgroundTint="@color/status_green_500" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/item_game_invite_cover_image" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="@id/item_game_invite_status" app:layout_constraintVertical_bias="1.0" style="@style/Widget.MaterialComponents.Button" />
|
|
<androidx.recyclerview.widget.RecyclerView android:id="@id/item_game_invite_recycler" android:layout_width="0.0dip" android:layout_height="@dimen/avatar_size_standard" app:layout_constraintBottom_toTopOf="@id/item_game_invite_action_btn" app:layout_constraintEnd_toStartOf="@id/item_game_invite_cover_image" app:layout_constraintLeft_toLeftOf="@id/item_game_invite_status" app:layout_constraintRight_toLeftOf="@id/item_game_invite_cover_image" app:layout_constraintStart_toStartOf="@id/item_game_invite_status" app:layout_constraintTop_toBottomOf="@id/item_game_invite_status" app:layout_constraintVertical_bias="1.0" app:layout_goneMarginBottom="@dimen/uikit_spacing_large" 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_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toLeftOf="@id/item_game_invite_cover_image" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toStartOf="@id/item_game_invite_cover_image" style="@style/UiKit.Chat.Embed.Footer" />
|
|
</merge> |