media_preview_actionbar.xml
2.71 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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="50dp"
android:background="#21282C"
android:clickable="true">
<ImageView
android:id="@+id/btn_back"
android:layout_width="48dp"
android:layout_height="match_parent"
android:layout_centerVertical="true"
android:padding="14dp"
android:src="@drawable/photo_back" />
<View
android:layout_width="1px"
android:layout_height="match_parent"
android:layout_marginBottom="12dp"
android:layout_marginTop="12dp"
android:layout_toRightOf="@id/btn_back"
android:background="#cc111111" />
<TextView
android:id="@+id/bar_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="8dp"
android:layout_toRightOf="@id/btn_back"
android:text="1/1"
android:textColor="#ffffff"
android:textSize="16sp" />
<LinearLayout
android:id="@+id/check_layout"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_centerInParent="true"
android:visibility="gone">
<ImageView
android:id="@+id/check_image"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_gravity="center_vertical"
android:layout_marginRight="7dp"
android:src="@drawable/xc_weixuan" />
<TextView
android:id="@+id/select_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_gravity="center_vertical"
android:layout_marginRight="10dp"
android:text="@string/select"
android:textColor="@color/default_text_color"
android:textSize="15sp" />
</LinearLayout>
<Button
android:id="@+id/done"
android:layout_width="wrap_content"
android:layout_height="38dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="9dp"
android:background="@drawable/bg_done"
android:minHeight="1dp"
android:minWidth="1dp"
android:paddingBottom="5dp"
android:paddingLeft="12dp"
android:paddingRight="12dp"
android:paddingTop="5dp"
android:text="@string/done"
android:textColor="@color/default_text_color"
android:textSize="14sp" />
</RelativeLayout>