diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/act_colors.xml | 67 | ||||
-rw-r--r-- | res/values/strings.xml | 2 |
2 files changed, 69 insertions, 0 deletions
diff --git a/res/layout/act_colors.xml b/res/layout/act_colors.xml new file mode 100644 index 0000000..f399c7a --- /dev/null +++ b/res/layout/act_colors.xml @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="utf-8"?> + <!-- + ConnectBot: simple, powerful, open-source SSH client for Android + Copyright (C) 2007-2008 Kenny Root, Jeffrey Sharkey This program is + free software: you can redistribute it and/or modify it under the + terms of the GNU General Public License as published by the Free + Software Foundation, either version 3 of the License, or (at your + option) any later version. This program is distributed in the hope + that it will be useful, but WITHOUT ANY WARRANTY; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more details. You + should have received a copy of the GNU General Public License along + with this program. If not, see <http://www.gnu.org/licenses/>. + --> + +<RelativeLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + + <TextView + android:text="FG:" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:id="@+id/fg_label" + android:paddingTop="12dp" + /> + + <Spinner + android:id="@+id/fg" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_toRightOf="@+id/fg_label" + /> + + <Spinner + android:id="@+id/bg" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignTop="@+id/fg" + android:layout_alignParentRight="true" + /> + + <TextView + android:text="BG:" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:layout_toLeftOf="@+id/bg" + android:id="@+id/fg_label" + android:paddingTop="12dp" + /> + + <GridView + android:id="@+id/color_grid" + android:layout_height="fill_parent" + android:layout_width="fill_parent" + android:padding="10dp" + android:verticalSpacing="10dp" + android:horizontalSpacing="10dp" + android:numColumns="auto_fit" + android:columnWidth="60dp" + android:stretchMode="columnWidth" + android:gravity="center" + android:layout_below="@+id/fg" + android:stackFromBottom="true" android:minHeight="60dp"/> + +</RelativeLayout> diff --git a/res/values/strings.xml b/res/values/strings.xml index c29b15c..7631a18 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -13,6 +13,8 @@ <string name="title_host_editor">Edit Host</string> <!-- Window title for Help index --> <string name="title_help">Help</string> + <!-- Window title for color list editing screen --> + <string name="title_colors">Colors</string> <string name="resolve_connect">Connect</string> <string name="resolve_entropy">Gather Entropy</string> |