layout_act_head.xml
2.1 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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:id="@+id/layout_imv"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/color_ededed"
>
<ImageView
android:scaleType="centerCrop"
android:background="@color/white"
android:id="@+id/act_head_image"
android:layout_width="match_parent"
android:layout_height="126dp" />
<RelativeLayout
android:background="@color/white"
android:layout_width="match_parent"
android:layout_height="70dp">
<!-- 活动title -->
<TextView
android:textColor="@color/vip_login"
android:layout_marginTop="16dp"
android:layout_marginLeft="10dp"
android:textSize="17sp"
android:id="@+id/act_title_text"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<!-- 活动投票时间 -->
<TextView
android:layout_marginTop="7dp"
android:textColor="@color/color_text_normal_999"
android:layout_marginLeft="10dp"
android:layout_below="@+id/act_title_text"
android:textSize="11sp"
android:id="@+id/act_polling_hours"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<!-- 进入活动详情button -->
<ImageView
android:id="@+id/btn_act_detial"
android:src="@mipmap/onlive_chose_seat_right"
android:layout_marginRight="2dp"
android:layout_marginTop="16dp"
android:layout_alignParentRight="true"
android:layout_width="29dp"
android:layout_height="29dp" />
<TextView
android:layout_below="@id/act_polling_hours"
android:layout_width="match_parent"
android:layout_height="10dp"
android:background="@color/color_cutline_ececec"/>
</RelativeLayout>
</LinearLayout>