comparison app/src/main/res/layout/file_dialog_main.xml @ 438:d29cce60f393

migrate from Eclipse to Android Studio
author Carl Byington <carl@five-ten-sg.com>
date Thu, 03 Dec 2015 11:23:55 -0800
parents res/layout/file_dialog_main.xml@0ce5cc452d02
children
comparison
equal deleted inserted replaced
437:208b31032318 438:d29cce60f393
1 <?xml version="1.0" encoding="utf-8"?>
2 <RelativeLayout android:id="@+id/relativeLayout01"
3 xmlns:android="http://schemas.android.com/apk/res/android"
4 android:orientation="vertical" android:layout_width="fill_parent"
5 android:layout_height="fill_parent">
6
7 <LinearLayout android:id="@+id/fdLinearLayoutList"
8 android:orientation="vertical" android:layout_width="fill_parent"
9 android:layout_height="wrap_content" android:layout_alignParentBottom="true">
10
11 <LinearLayout android:id="@+id/fdLinearLayoutSelect"
12 android:orientation="vertical" android:layout_width="fill_parent"
13 android:layout_height="wrap_content"
14 android:paddingLeft="10dp"
15 android:paddingRight="10dp" android:paddingBottom="5dp">
16
17 <LinearLayout android:orientation="horizontal"
18 android:layout_width="fill_parent" android:layout_height="fill_parent">
19 <Button android:id="@+id/fdButtonNew" android:layout_height="wrap_content"
20 android:layout_width="0dip" android:layout_weight=".3"
21 android:text="@string/nnew"></Button>
22 <Button android:id="@+id/fdButtonSelect" android:layout_height="wrap_content"
23 android:layout_width="0dip" android:layout_weight=".6"
24 android:text="@string/select"></Button>
25 <Button android:id="@+id/fdButtonCancel" android:layout_height="wrap_content"
26 android:layout_width="0dip" android:layout_weight=".3"
27 android:text="@string/cancel"></Button>
28 </LinearLayout>
29 </LinearLayout>
30
31 <LinearLayout android:id="@+id/fdLinearLayoutCreate"
32 android:orientation="vertical" android:layout_width="fill_parent"
33 android:layout_height="wrap_content"
34 android:paddingLeft="10dp"
35 android:paddingRight="10dp" android:paddingBottom="5dp">
36 <TextView android:id="@+id/textViewFilename" android:text="@string/file_name"
37 android:layout_width="fill_parent" android:layout_height="wrap_content" />
38 <EditText android:text="" android:id="@+id/fdEditTextFile" android:inputType="text"
39 android:layout_width="fill_parent" android:layout_height="wrap_content"></EditText>
40
41 <LinearLayout android:orientation="horizontal"
42 android:layout_width="fill_parent" android:layout_height="fill_parent">
43 <Button android:id="@+id/fdButtonCancelCreate" android:layout_height="wrap_content"
44 android:layout_width="0dip" android:layout_weight=".3"
45 android:text="@string/cancel"></Button>
46 <Button android:id="@+id/fdButtonCreate" android:layout_height="wrap_content"
47 android:layout_width="0dip" android:layout_weight=".7"
48 android:text="@string/new_file"></Button>
49 </LinearLayout>
50 </LinearLayout>
51
52 </LinearLayout>
53
54 <LinearLayout android:orientation="vertical"
55 android:layout_width="fill_parent" android:layout_height="fill_parent"
56 android:layout_above="@+id/fdLinearLayoutList">
57 <TextView android:id="@+id/path" android:layout_width="fill_parent"
58 android:layout_height="wrap_content" />
59 <ListView android:id="@android:id/list" android:layout_width="fill_parent"
60 android:layout_height="fill_parent" />
61 <TextView android:id="@android:id/empty"
62 android:layout_width="fill_parent" android:layout_height="fill_parent"
63 android:text="@string/no_data" />
64 </LinearLayout>
65
66
67
68
69 </RelativeLayout>