Mercurial > 510Connectbot
annotate res/layout/string_picker.xml @ 231:502ba7668993
use StringPickerDialog for soft cursor keypad
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 09 Jul 2014 14:28:43 -0700 |
parents | 61ed3984fc1d |
children |
rev | line source |
---|---|
223
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="utf-8"?> |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
2 |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
3 <!-- Copyright (C) 2008 The Android Open Source Project |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
4 Licensed under the Apache License, Version 2.0 (the "License"); |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
5 you may not use this file except in compliance with the License. |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
6 You may obtain a copy of the License at |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
7 http://www.apache.org/licenses/LICENSE-2.0 |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
8 Unless required by applicable law or agreed to in writing, software |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
9 distributed under the License is distributed on an "AS IS" BASIS, |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
10 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
11 See the License for the specific language governing permissions and |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
12 limitations under the License. |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
13 --> |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
14 |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
15 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
16 android:orientation="horizontal" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
17 android:layout_width="304dp" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
18 android:layout_height="match_parent" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
19 android:background="@drawable/keyboard_popup_panel_trans_background"> |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
20 |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
21 <GridView |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
22 android:id="@+id/stringPicker" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
23 android:layout_width="0dp" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
24 android:layout_height="wrap_content" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
25 android:layout_weight="1" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
26 android:padding="4dp" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
27 android:verticalSpacing="8dp" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
28 android:horizontalSpacing="8dp" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
29 android:gravity="start" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
30 android:drawSelectorOnTop="false" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
31 android:numColumns="4" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
32 android:columnWidth="48dp" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
33 android:fadingEdge="none" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
34 android:layout_gravity="center_vertical" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
35 android:listSelector="#0000" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
36 /> |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
37 |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
38 <Button |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
39 android:id="@+id/cancel" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
40 android:layout_width="wrap_content" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
41 android:layout_height="wrap_content" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
42 android:background="@drawable/btn_close" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
43 android:layout_gravity="center_vertical" |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
44 /> |
61ed3984fc1d
proper labels on the soft 24 function keypad
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
45 </LinearLayout> |