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

12 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:background="?chat_embed_bg" android:layout_width="@dimen/chat_embed_width" android:layout_height="@dimen/chat_embed_height" android:layout_marginLeft="60.0dip" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total" android:layout_marginBottom="@dimen/chat_cell_vertical_spacing_padding" android:layout_marginStart="60.0dip" android:layout_marginEnd="@dimen/chat_cell_horizontal_spacing_total"
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="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" android:alpha="0.4" android:layout_alignParentEnd="true" app:roundBottomLeft="false" app:roundTopLeft="false" app:roundedCornerRadius="4.0dip" app:viewAspectRatio="1.0" />
<View android:background="@drawable/drawable_game_invite_gradient_overlay" android:visibility="visible" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignLeft="@id/item_game_invite_cover_image" android:layout_alignTop="@id/item_game_invite_cover_image" android:layout_alignBottom="@id/item_game_invite_cover_image" android:layout_alignStart="@id/item_game_invite_cover_image" />
<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_below="@id/item_game_invite_header" android:layout_alignLeft="@id/item_game_invite_header" android:layout_alignStart="@id/item_game_invite_header" style="@style/UiKit.TextView" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="@dimen/avatar_size_standard" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" android:layout_toLeftOf="@id/item_game_invite_application_name" android:layout_alignParentLeft="true" android:layout_alignParentBottom="true" android:layout_marginStart="@dimen/uikit_spacing_large" android:layout_toStartOf="@id/item_game_invite_application_name" android:layout_alignParentStart="true" style="@style/UiKit.View.HiddenOnSmallScreens">
<androidx.recyclerview.widget.RecyclerView android:id="@id/item_game_invite_recycler" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.RecyclerView.Horizontal" />
</RelativeLayout>
<TextView android:id="@id/item_game_invite_application_name" android:layout_width="@dimen/chat_embed_game_title_width" android:maxLines="2" style="@style/UiKit.Chat.Embed.Footer" />
</RelativeLayout>