i_recommend_4_detail.xml
3.82 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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:focusable="true"
android:gravity="center"
android:focusableInTouchMode="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<!-- makeramen:riv_corner_radius_bottom_right="10dip"
makeramen:riv_corner_radius_bottom_left="10dip"
makeramen:riv_corner_radius_top_left="10dip"
makeramen:riv_corner_radius_top_right="10dip"
makeramen:riv_border_width="1dip"
makeramen:riv_border_color="#ffffff"-->
<ImageView
android:layout_width="@dimen/detail_item_width"
android:layout_height="@dimen/detail_item_height"
android:focusable="false"
android:text="@string/actor"
android:scaleType="fitXY"
android:adjustViewBounds="true"
android:focusableInTouchMode="false"
tools:background="@drawable/ic_movie_default"
android:id="@+id/imageView"/>
<LinearLayout
android:id="@+id/msg_lyt"
android:layout_width="@dimen/detail_item_width"
android:layout_height="wrap_content"
android:focusable="false"
android:focusableInTouchMode="false"
tools:text="@string/actor"
android:gravity="left"
android:textSize="24sp"
android:textColor="@color/general_text_color"
android:singleLine="true"
android:ellipsize="end"
android:background="@color/main_gray"
android:layout_alignBottom="@+id/imageView"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true">
<LinearLayout android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_marginTop="3dp"
android:layout_marginBottom="3dp"
android:id="@+id/name_tv"
android:textSize="@dimen/detail_item_item_text_size"
tools:text="@string/actor"
style="@style/main_item_text_style"/>
<TextView
android:id="@+id/type_tv"
android:textSize="@dimen/detail_item_item_text_size"
tools:text="@string/actor"
android:visibility="gone"
android:layout_marginBottom="3dp"
style="@style/main_item_text_style"
/>
<TextView
android:id="@+id/length_tv"
android:textSize="@dimen/detail_item_item_text_size"
tools:text="@string/actor"
android:visibility="gone"
android:layout_marginBottom="3dp"
style="@style/main_item_text_style"
/>
</LinearLayout>
<LinearLayout android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="right|bottom"
android:orientation="vertical">
<ImageView
android:id="@+id/play_iv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/ic_play_normal"
android:layout_marginRight="5dp"
android:layout_marginBottom="5dp"/>
</LinearLayout>
</LinearLayout>
</RelativeLayout>