forked from Tencent/APIJSON
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimage_picker_activity.xml
More file actions
executable file
·75 lines (64 loc) · 2.55 KB
/
image_picker_activity.xml
File metadata and controls
executable file
·75 lines (64 loc) · 2.55 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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/activity_page" >
<RelativeLayout style="@style/topbar_bg" >
<TextView style="@style/topbar_return_tv" />
<TextView
style="@style/topbar_title"
android:layout_centerHorizontal="true"
android:text="选择图片" />
</RelativeLayout>
<View style="@style/divider_horizontal_1dp" />
<android.support.v4.widget.DrawerLayout
android:id="@+id/dlImagePicker"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1" >
<GridView
android:id="@+id/gvImagePicker"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:columnWidth="90dp"
android:focusable="false"
android:gravity="center"
android:horizontalSpacing="5dp"
android:listSelector="@null"
android:numColumns="auto_fit"
android:padding="5dp"
android:scrollbars="none"
android:stretchMode="columnWidth"
android:verticalSpacing="5dp" />
<ListView
android:id="@+id/lvImagePicker"
android:layout_width="200dp"
android:layout_height="match_parent"
android:layout_gravity="start"
android:background="@android:color/white" />
</android.support.v4.widget.DrawerLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0"
android:background="#FFFFFFFF"
android:padding="8dp" >
<Button
android:id="@+id/btnImagePickerFolder"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:background="@drawable/edit_item_text_bg"
android:maxLength="10"
android:minWidth="70dp"
android:padding="10dp"
android:textColor="#474747" />
<Button
android:id="@+id/btnImagePickerOK"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:background="@drawable/edit_item_text_bg"
android:padding="8dp"
android:textColor="#FFFFFFFF"
android:textSize="14sp" />
</RelativeLayout>
</LinearLayout>