lmw
2023-05-12 f67802a41f9e01444d1115f34ecc6e1beb05fc3b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="utf-8"?>
<com.daimajia.swipe.SwipeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/swipe_layout"
    android:layout_width="match_parent"
    android:background="@color/page_bg"
    android:paddingTop="4dp"
    android:layout_height="wrap_content">
 
        <TextView
            android:layout_width="70dp"
            android:layout_height="match_parent"
            android:text="删除"
            android:gravity="center"
            android:layout_gravity="right"
            android:textColor="@color/white"
            android:background="@color/colorRed"
            android:textSize="15sp"
            android:textStyle="bold"
            android:id="@+id/tv_del"/>
 
    <androidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/white"
        android:paddingBottom="10dp">
 
        <TextView
            android:id="@+id/tv_title"
            style="@style/style_common_text"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_margin="14dp"
            android:text="系统提示"
            android:textStyle="bold"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent" />
 
        <TextView
            android:id="@+id/tv_time"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginEnd="13dp"
            android:text="2019-05-02 10:48"
            android:textColor="@color/textColor99"
            android:textSize="12sp"
            app:layout_constraintBaseline_toBaselineOf="@id/tv_title"
            app:layout_constraintEnd_toEndOf="parent" />
 
        <TextView
            android:id="@+id/tv_content"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_marginTop="11dp"
            android:layout_marginEnd="13dp"
            android:text="热烈祝贺福伴出行APP上线,柳州的帅哥美女
些有彩蛋,速来体验!"
            android:ellipsize="end"
            android:textColor="@color/textColor66"
            android:textSize="12sp"
            app:layout_constraintEnd_toStartOf="@id/iv_img"
            app:layout_constraintStart_toStartOf="@id/tv_title"
            app:layout_constraintTop_toBottomOf="@id/tv_title" />
 
        <com.facebook.drawee.view.SimpleDraweeView
            android:id="@+id/iv_img"
            android:layout_width="62dp"
            android:layout_height="62dp"
            android:visibility="gone"
            app:actualImageScaleType="centerCrop"
            app:layout_constraintEnd_toEndOf="@id/tv_time"
            app:placeholderImage="@color/page_bg"
            app:layout_constraintTop_toTopOf="@id/tv_content"
            app:roundedCornerRadius="1dp" />
    </androidx.constraintlayout.widget.ConstraintLayout>
</com.daimajia.swipe.SwipeLayout>