811a5a4a |
1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 | android:orientation="vertical" |
4 | android:layout_width="fill_parent" |
5 | android:layout_height="fill_parent" |
6 | > |
7 | <TextView |
8 | android:layout_width="fill_parent" |
9 | android:layout_height="wrap_content" |
10 | android:text="@string/file_name"\r |
11 | android:textAppearance="?android:attr/textAppearanceMedium"\r |
12 | android:layout_marginTop="10dip"\r |
13 | android:layout_marginLeft="10dip" |
14 | />\r |
15 | <LinearLayout android:orientation="horizontal"\r |
16 | android:layout_width="fill_parent"\r |
17 | android:layout_height="wrap_content"\r |
18 | >\r |
19 | <EditText android:id="@+id/file_path"\r |
20 | android:layout_width="0dip" \r |
21 | android:layout_height="wrap_content" \r |
22 | android:layout_weight="1"/>\r |
23 | <ImageButton android:id="@+id/file_manager" |
24 | android:onClick="onClickOpenFile"\r |
25 | android:src="@drawable/ic_launcher_folder_small"\r |
26 | android:layout_width="wrap_content"\r |
27 | android:layout_height="wrap_content" />\r |
28 | </LinearLayout>\r |
29 | |
30 | <TextView android:id="@+id/info" |
31 | android:layout_width="fill_parent" |
32 | android:layout_height="wrap_content" |
33 | android:layout_marginTop="10dip" |
34 | android:layout_marginLeft="10dip" /> |
35 | \r |
36 | <Button android:id="@+id/open" |
37 | android:onClick="onClickOpenFile"\r |
38 | android:text="@string/open_button"\r |
39 | android:layout_width="fill_parent"\r |
40 | android:layout_height="wrap_content"\r |
41 | android:layout_marginTop="10dip" />\r |
42 | \r |
43 | <Button android:id="@+id/save" |
44 | android:onClick="onClickSaveFile"\r |
45 | android:text="@string/save_button"\r |
46 | android:layout_width="fill_parent"\r |
47 | android:layout_height="wrap_content" />\r |
48 | \r |
49 | <Button android:id="@+id/pick_directory" |
50 | android:onClick="onClickPickDirectory"\r |
51 | android:text="@string/pick_directory_title"\r |
52 | android:layout_width="fill_parent"\r |
53 | android:layout_height="wrap_content" />\r |
54 | |
55 | <Button android:id="@+id/get_content" |
56 | android:onClick="onClickGetContent" |
57 | android:text="@string/get_content_title" |
58 | android:layout_width="fill_parent" |
59 | android:layout_height="wrap_content" /> |
60 | |
61 | <Button android:id="@+id/open_uri" |
62 | android:onClick="onClickOpenUri" |
63 | android:text="@string/open_uri_button" |
64 | android:layout_width="fill_parent" |
65 | android:layout_height="wrap_content" /> |
66 | </LinearLayout> |