discord-jadx/app/src/main/res/layout/widget_chat_list_adapter_it...

22 lines
4.6 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/res_2131952395_uikit_chat_embed_container">
<FrameLayout android:layout_width="match_parent" android:layout_height="0dp" app:layout_constraintBottom_toBottomOf="@+id/item_gift_image" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0">
<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/item_gift_image_background" android:layout_width="match_parent" android:layout_height="match_parent" android:alpha="0.1" app:actualImageScaleType="4"/>
<View android:background="?attr/gift_embed_gradient_overlay" android:layout_width="match_parent" android:layout_height="match_parent"/>
</FrameLayout>
<TextView android:id="@+id/item_gift_header" android:text="@string/invite_button_resolving" style="@style/res_2131952397_uikit_chat_embed_header"/>
<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/item_gift_image" android:layout_marginTop="8dp" android:layout_marginBottom="8dp" android:layout_marginStart="16dp" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/item_gift_header" app:placeholderImage="?attr/ic_game_icon_placeholder" style="@style/res_2131952023_icon_game"/>
<LinearLayout android:id="@+id/item_gift_details" android:layout_width="0dp" android:layout_marginTop="8dp" android:minHeight="50dp" android:layout_marginEnd="16dp" app:layout_constraintEnd_toEndOf="0" app:layout_constraintLeft_toRightOf="@+id/item_gift_image" app:layout_constraintRight_toRightOf="0" app:layout_constraintStart_toEndOf="@+id/item_gift_image" app:layout_constraintTop_toBottomOf="@+id/item_gift_header" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?attr/primary_100" android:id="@+id/item_gift_name" android:minWidth="150dp" android:layout_marginStart="8dp" android:layout_marginEnd="16dp" style="@style/res_2131952571_uikit_textview_marquee"/>
<TextView android:id="@+id/item_gift_expires" android:layout_marginTop="4dp" android:singleLine="true" android:layout_marginStart="8dp" android:layout_marginEnd="16dp" style="@style/res_2131952398_uikit_chat_embed_subtext"/>
</LinearLayout>
<androidx.constraintlayout.widget.Barrier android:id="@+id/barrier" android:layout_width="wrap_content" android:layout_height="wrap_content" app:barrierDirection="3" app:constraint_referenced_ids="item_gift_image,item_gift_details"/>
<TextView android:id="@+id/item_gift_subtext" android:layout_width="0dp" android:layout_marginTop="8dp" android:layout_marginEnd="16dp" app:layout_constraintEnd_toEndOf="0" app:layout_constraintLeft_toLeftOf="@+id/item_gift_image" app:layout_constraintRight_toRightOf="0" app:layout_constraintStart_toStartOf="@+id/item_gift_image" app:layout_constraintTop_toBottomOf="@+id/barrier" style="@style/res_2131952398_uikit_chat_embed_subtext"/>
<FrameLayout android:paddingBottom="8dp" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginLeft="8dp" android:layout_marginRight="8dp" android:layout_marginBottom="8dp" app:layout_constraintEnd_toEndOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/item_gift_subtext">
<com.google.android.material.button.MaterialButton android:id="@+id/item_gift_cannot_claim_button" android:visibility="gone" android:text="@string/gift_embed_button_claimed" style="@style/res_2131952426_uikit_giftembeddisabledbutton"/>
<com.google.android.material.button.MaterialButton android:id="@+id/item_gift_accept_button" android:visibility="gone" android:text="@string/gift_embed_button_accept" style="@style/res_2131952458_uikit_material_button_green"/>
<com.google.android.material.button.MaterialButton android:id="@+id/item_gift_verify_button" android:visibility="gone" android:text="@string/verify_account" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/item_gift_subtext" style="@style/res_2131952456_uikit_material_button"/>
<View android:id="@+id/item_gift_loading_button_placeholder" android:background="@drawable/drawable_empty_text_placeholder_dark" android:visibility="gone" android:layout_height="36dp" android:layout_marginTop="6dp" style="@style/res_2131952587_uikit_viewgroup"/>
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout>