comp_banner_01.xml
3.06 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"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/rlParentItem"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/rmrb_dp6"
android:paddingHorizontal="@dimen/rmrb_dp10">
<ViewStub
android:id="@+id/cbSelect"
android:layout_width="@dimen/rmrb_dp20"
android:layout_height="@dimen/rmrb_dp20"
android:layout_centerVertical="true"
android:layout_marginRight="@dimen/rmrb_dp16"
android:layout="@layout/comp_checkbox"
android:visibility="gone" />
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toRightOf="@+id/cbSelect"
android:orientation="vertical">
<RelativeLayout
android:id="@+id/rlImage"
android:layout_width="match_parent"
android:paddingTop="@dimen/rmrb_dp14"
android:layout_height="wrap_content">
<com.wd.common.widget.RoundRectImageView
android:id="@+id/imageView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/shape_comp_image_frame_4"
android:scaleType="centerCrop"
android:src="@drawable/rmrb_placeholder_compe_all"
app:leftBottomRadius="@dimen/rmrb_dp4"
app:leftTopRadius="@dimen/rmrb_dp4"
app:rightBottomRadius="@dimen/rmrb_dp4"
app:rightTopRadius="@dimen/rmrb_dp4" />
<com.wd.capability.layout.ui.widget.TagStokeWidthTextView
android:id="@+id/tvTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="@drawable/shape_gradient_white"
android:ellipsize="end"
android:maxLines="2"
android:minHeight="@dimen/rmrb_dp59"
android:paddingHorizontal="@dimen/rmrb_dp12"
android:paddingTop="@dimen/rmrb_dp24"
android:paddingBottom="@dimen/rmrb_dp10"
android:textColor="@color/res_color_common_C8_keep"
android:textSize="@dimen/rmrb_dp18"
app:stokeWidth="0.8" />
<View
android:id="@+id/flImage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/shape_comp_image_frame_4" />
</RelativeLayout>
<include
layout="@layout/item_base_line_gray"
android:layout_width="match_parent"
android:layout_height="@dimen/rmrb_dp0_5"
android:layout_marginTop="@dimen/rmrb_dp14" />
</androidx.appcompat.widget.LinearLayoutCompat>
</RelativeLayout>