comp_big_image_03_item.xml
2.93 KB
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
<?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"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingVertical="@dimen/rmrb_dp14">
<com.view.text.view.TagTextView
android:id="@+id/tvTitle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:ellipsize="end"
android:gravity="center_vertical"
android:lineSpacingMultiplier="1.1"
android:maxLines="2"
android:paddingRight="@dimen/rmrb_dp12"
android:textColor="@color/res_color_common_C1"
android:textSize="@dimen/rmrb_dp18"
app:layout_constraintHorizontal_weight="2"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toLeftOf="@+id/imageLay"
app:layout_constraintTop_toTopOf="parent"
tools:text="标签" />
<include
layout="@layout/comp_common_from_data"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/rmrb_dp12"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="@id/tvTitle"
app:layout_constraintTop_toBottomOf="@+id/tvTitle" />
<RelativeLayout
android:id="@+id/imageLay"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintHorizontal_weight="1"
app:layout_constraintLeft_toRightOf="@+id/tvTitle"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent">
<com.wd.foundation.wdkit.view.RoundCornerImageView
android:id="@+id/imageView"
android:layout_width="@dimen/rmrb_dp117"
android:layout_height="@dimen/rmrb_dp78"
android:scaleType="centerCrop"
app:leftBottomRadius="@dimen/rmrb_dp4"
app:leftTopRadius="@dimen/rmrb_dp4"
app:rightBottomRadius="@dimen/rmrb_dp4"
app:rightTopRadius="@dimen/rmrb_dp4"
tools:background="@color/blue_theme_bg" />
<View
android:id="@+id/flImage"
android:layout_width="@dimen/rmrb_dp117"
android:layout_height="@dimen/rmrb_dp78"
android:background="@drawable/shape_comp_image_frame_4" />
<include
layout="@layout/comp_common_image_tag"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignRight="@+id/imageView"
android:layout_alignBottom="@+id/imageView"
android:layout_marginRight="@dimen/rmrb_dp6"
android:layout_marginBottom="@dimen/rmrb_dp6" />
</RelativeLayout>
</androidx.constraintlayout.widget.ConstraintLayout>