0
|
1 <?xml version="1.0" encoding="utf-8"?>
|
|
2 <!--
|
|
3 /*
|
|
4 * ConnectBot: simple, powerful, open-source SSH client for Android
|
|
5 * Copyright 2007 Kenny Root, Jeffrey Sharkey
|
|
6 *
|
|
7 * Licensed under the Apache License, Version 2.0 (the "License");
|
|
8 * you may not use this file except in compliance with the License.
|
|
9 * You may obtain a copy of the License at
|
|
10 *
|
|
11 * http://www.apache.org/licenses/LICENSE-2.0
|
|
12 *
|
|
13 * Unless required by applicable law or agreed to in writing, software
|
|
14 * distributed under the License is distributed on an "AS IS" BASIS,
|
|
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16 * See the License for the specific language governing permissions and
|
|
17 * limitations under the License.
|
|
18 */
|
|
19 -->
|
|
20
|
|
21 <RelativeLayout
|
|
22 xmlns:android="http://schemas.android.com/apk/res/android"
|
|
23 android:layout_width="fill_parent"
|
|
24 android:layout_height="fill_parent">
|
|
25
|
|
26 <TextView
|
|
27 android:text="@string/colors_fg"
|
|
28 android:layout_height="wrap_content"
|
|
29 android:layout_width="wrap_content"
|
|
30 android:id="@+id/fg_label"
|
|
31 android:paddingTop="12dp"
|
|
32 />
|
|
33
|
|
34 <Spinner
|
|
35 android:id="@+id/fg"
|
|
36 android:layout_width="wrap_content"
|
|
37 android:layout_height="wrap_content"
|
|
38 android:layout_toRightOf="@+id/fg_label"
|
|
39 />
|
|
40
|
|
41 <Spinner
|
|
42 android:id="@+id/bg"
|
|
43 android:layout_width="wrap_content"
|
|
44 android:layout_height="wrap_content"
|
|
45 android:layout_alignTop="@+id/fg"
|
|
46 android:layout_alignParentRight="true"
|
|
47 />
|
|
48
|
|
49 <TextView
|
|
50 android:text="@string/color_bg"
|
|
51 android:layout_height="wrap_content"
|
|
52 android:layout_width="wrap_content"
|
|
53 android:layout_toLeftOf="@+id/bg"
|
|
54 android:paddingTop="12dp"
|
|
55 />
|
|
56
|
|
57 <GridView
|
|
58 android:id="@+id/color_grid"
|
|
59 android:layout_height="fill_parent"
|
|
60 android:layout_width="fill_parent"
|
|
61 android:padding="10dp"
|
|
62 android:verticalSpacing="10dp"
|
|
63 android:horizontalSpacing="10dp"
|
|
64 android:numColumns="auto_fit"
|
|
65 android:columnWidth="60dp"
|
|
66 android:stretchMode="columnWidth"
|
|
67 android:gravity="center"
|
|
68 android:layout_below="@+id/fg"
|
|
69 android:stackFromBottom="true" android:minHeight="60dp"/>
|
|
70
|
|
71 </RelativeLayout>
|