layout_allproduction_item.xml
2.52 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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<RelativeLayout
android:id="@+id/rl_allpro_item"
android:background="?android:attr/selectableItemBackground"
android:layout_width="match_parent"
android:layout_height="96dp">
<ImageView
android:id="@+id/ima_allproduction_head"
android:layout_width="107dp"
android:layout_height="80dp"
android:scaleType="centerCrop"
android:layout_centerVertical="true"
android:background="@drawable/defult_background_small" />
<TextView
android:id="@+id/tv_production_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@id/ima_allproduction_head"
android:layout_marginLeft="12dp"
android:layout_marginTop="5dp"
android:layout_toRightOf="@id/ima_allproduction_head"
android:ellipsize="end"
android:singleLine="true"
android:text="title"
android:textColor="@color/color_060606"
android:textSize="14sp" />
<TextView
android:id="@+id/tv_production_content"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/tv_production_title"
android:layout_marginLeft="12dp"
android:layout_marginTop="11dp"
android:layout_toRightOf="@id/ima_allproduction_head"
android:ellipsize="end"
android:singleLine="true"
android:text="title"
android:textColor="@color/color_999"
android:textSize="13sp" />
<ImageView
android:id="@+id/ima_type_logo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/tv_production_content"
android:layout_marginLeft="12dp"
android:layout_marginTop="13dp"
android:layout_toRightOf="@id/ima_allproduction_head"
android:background="@mipmap/production_drama_logo" />
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="117dp"
android:background="@color/color_e5e5e5" />
</LinearLayout>