comp_manuscript_style_content_04.xml
3.61 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<com.view.text.view.TagTextView
android:id="@+id/tvTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:lineSpacingMultiplier="1.1"
android:maxLines="3"
android:textColor="@color/res_color_common_C1"
android:textSize="@dimen/rmrb_dp18" />
<com.wd.component.ui.widget.ItemRecyclerView
android:id="@+id/imageRv"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/rmrb_dp8" />
<!-- 动态图文卡-人民号 单图使用这个布局-->
<FrameLayout
android:id="@+id/flOnlyOneImage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/rmrb_dp8"
android:background="@drawable/shape_comp_image_frame_4"
android:visibility="gone">
<com.wd.foundation.wdkit.view.RoundCornerImageView
android:id="@+id/onlyOneImage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
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" />
<View
android:id="@+id/flContent04Image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/shape_comp_image_frame_4" />
<LinearLayout
android:id="@+id/ll_long_img_tag"
android:layout_width="wrap_content"
android:layout_height="@dimen/rmrb_dp18"
android:layout_gravity="right|bottom"
android:layout_margin="@dimen/rmrb_dp8"
android:orientation="horizontal"
android:paddingHorizontal="@dimen/rmrb_dp3"
android:paddingVertical="@dimen/rmrb_dp2"
android:visibility="invisible">
<ImageView
android:id="@+id/longImageTag"
android:layout_width="@dimen/rmrb_dp14"
android:layout_height="@dimen/rmrb_dp14"
android:layout_marginTop="@dimen/rmrb_dp0_5"
android:scaleType="fitXY"
android:src="@mipmap/long_img_tag_icon" />
<TextView
android:id="@+id/tvLongImageTag"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/rmrb_dp2"
android:text="长图"
android:textColor="@color/res_color_C1"
android:textSize="@dimen/rmrb_dp11" />
</LinearLayout>
</FrameLayout>
<include
layout="@layout/comp_common_from_data"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/rmrb_dp8" />
<include
layout="@layout/item_adv_common_bottom"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone" />
</androidx.appcompat.widget.LinearLayoutCompat>