Linjiajia
2023-07-25 82e57df230ecb744af6c8865f80870ba03c86d89
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
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">
 
    <data>
        <variable
            name="url"
            type="String" />
    </data>
 
    <androidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        >
        <androidx.constraintlayout.utils.widget.ImageFilterView
            android:layout_width="87dp"
            android:layout_height="87dp"
            android:layout_marginTop="7.5dp"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:round="10dp"
            android:background="@color/white"
            />
        <androidx.constraintlayout.utils.widget.ImageFilterView
            android:id="@+id/iv_image"
            android:layout_width="87dp"
            android:layout_height="87dp"
            android:layout_marginTop="7.5dp"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:imageUrl="@{url}"
            app:imageUri="@{url}"
            app:round="10dp"
            />
        <ImageView
            android:id="@+id/iv_delete"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:background="@drawable/ic_image_select"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintStart_toEndOf="@id/iv_image"
            android:layout_marginStart="-7.5dp"
            />
 
    </androidx.constraintlayout.widget.ConstraintLayout>
</layout>