|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <RelativeLayout |
|
3 xmlns:android="http://schemas.android.com/apk/res/android" |
|
4 xmlns:hh="http://schemas.android.com/apk/res-auto" |
|
5 android:id="@+id/main" |
|
6 android:layout_width="match_parent" |
|
7 android:layout_height="match_parent" |
|
8 android:background="#000" |
|
9 > |
|
10 |
|
11 <TextView |
|
12 android:id="@+id/note1" |
|
13 android:layout_width="match_parent" |
|
14 android:layout_height="wrap_content" |
|
15 android:text="long click buttons" |
|
16 android:textColor="#fd0" |
|
17 /> |
|
18 |
|
19 <LinearLayout |
|
20 android:id="@+id/brow1" |
|
21 android:layout_width="match_parent" |
|
22 android:layout_height="wrap_content" |
|
23 android:layout_below="@id/note1" |
|
24 android:orientation="horizontal" |
|
25 > |
|
26 |
|
27 <Button |
|
28 android:id="@+id/bPush" |
|
29 android:layout_width="match_parent" |
|
30 android:layout_height="wrap_content" |
|
31 android:layout_weight="1" |
|
32 android:text="PUSH\nclipboard" |
|
33 /> |
|
34 |
|
35 <Button |
|
36 android:id="@+id/bPull" |
|
37 android:layout_width="match_parent" |
|
38 android:layout_height="wrap_content" |
|
39 android:layout_weight="1" |
|
40 android:text="PULL\nclipboard" |
|
41 /> |
|
42 |
|
43 <Button |
|
44 android:id="@+id/bHist" |
|
45 android:layout_width="match_parent" |
|
46 android:layout_height="wrap_content" |
|
47 android:layout_weight="1" |
|
48 android:text="clipboard\nhistory" |
|
49 /> |
|
50 |
|
51 <ImageView |
|
52 android:id="@+id/bMenu" |
|
53 android:layout_width="wrap_content" |
|
54 android:layout_height="match_parent" |
|
55 android:layout_alignParentRight="true" |
|
56 android:layout_centerVertical="true" |
|
57 android:paddingLeft="6dp" |
|
58 android:paddingRight="6dp" |
|
59 android:src="@raw/menu" |
|
60 android:contentDescription="TODO"/> |
|
61 </LinearLayout> |
|
62 |
|
63 <TextView |
|
64 android:id="@+id/dir_list_header" |
|
65 android:layout_width="match_parent" |
|
66 android:layout_height="wrap_content" |
|
67 android:layout_below="@id/brow1" |
|
68 android:text="local clipboard content" |
|
69 android:textColor="#fd0" |
|
70 /> |
|
71 |
|
72 <ScrollView |
|
73 android:id="@+id/cbScroll" |
|
74 android:layout_width="match_parent" |
|
75 android:layout_height="match_parent" |
|
76 android:layout_above="@id/brow2" |
|
77 android:layout_below="@+id/dir_list_header" |
|
78 > |
|
79 |
|
80 <TextView |
|
81 android:id="@+id/cbText" |
|
82 android:layout_width="match_parent" |
|
83 android:layout_height="wrap_content" |
|
84 android:background="@color/file_list_bg" |
|
85 /> |
|
86 <!-- android:textAppearance="?android:attr/textAppearanceSmallInverse" --> |
|
87 |
|
88 </ScrollView> |
|
89 |
|
90 <LinearLayout |
|
91 android:id="@+id/brow2" |
|
92 android:layout_width="match_parent" |
|
93 android:layout_height="wrap_content" |
|
94 android:layout_alignParentBottom="true" |
|
95 android:orientation="horizontal" |
|
96 > |
|
97 |
|
98 <Button |
|
99 android:id="@+id/bFiles" |
|
100 android:layout_width="match_parent" |
|
101 android:layout_height="wrap_content" |
|
102 android:layout_weight="1" |
|
103 android:text="SERVER files" |
|
104 /> |
|
105 |
|
106 <Button |
|
107 android:id="@+id/bPeer" |
|
108 android:layout_width="match_parent" |
|
109 android:layout_height="wrap_content" |
|
110 android:layout_weight="1" |
|
111 android:text="PEER files" |
|
112 /> |
|
113 |
|
114 <Button |
|
115 android:id="@+id/bNet" |
|
116 android:layout_width="match_parent" |
|
117 android:layout_height="wrap_content" |
|
118 android:layout_weight="1" |
|
119 android:text="network" |
|
120 /> |
|
121 |
|
122 </LinearLayout> |
|
123 |
|
124 </RelativeLayout> |
|
125 |