jimu-decompiled/resources/res/layout/recycler_item_official_msg.xml
2025-05-13 19:24:51 +02:00

68 lines
2.9 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:swipe="http://schemas.android.com/apk/res-auto"
android:id="@+id/flContent"
android:background="@drawable/white_card_background"
android:layout_width="match_parent"
android:layout_height="90dp"
android:layout_marginLeft="8dp"
android:layout_marginTop="8dp"
android:layout_marginRight="8dp"
android:foreground="?android:attr/selectableItemBackground">
<com.daimajia.swipe.SwipeLayout
android:id="@+id/swipeLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
swipe:leftEdgeSwipeOffset="0dp"
swipe:rightEdgeSwipeOffset="0dp">
<LinearLayout
android:gravity="center"
android:tag="Bottom3"
android:background="@drawable/shape_red_delete"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="2dp"
android:minWidth="104dp"
android:minHeight="104dp">
<ImageView
android:layout_gravity="center"
android:id="@+id/imgDelete"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_edit_delete"/>
</LinearLayout>
<RelativeLayout
android:paddingBottom="2dp"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/imgMsgLogo"
android:layout_width="57dp"
android:layout_height="57dp"
android:layout_marginLeft="21.5dp"
android:src="@drawable/community_img_head"
android:layout_centerVertical="true"/>
<TextView
android:textSize="11sp"
android:textColor="#616d78"
android:gravity="center_vertical"
android:id="@+id/tvMsgTime"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginRight="10dp"
android:text="15分钟前"
android:layout_alignParentRight="true"/>
<TextView
android:textSize="20sp"
android:textColor="#22303f"
android:gravity="center_vertical"
android:id="@+id/tvContent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="10dp"
android:text="恭喜你达到了2级"
android:layout_toLeftOf="@+id/tvMsgTime"
android:layout_toRightOf="@+id/imgMsgLogo"/>
</RelativeLayout>
</com.daimajia.swipe.SwipeLayout>
</FrameLayout>