diff options
author | Kenny Root <kenny@the-b.org> | 2009-06-23 14:08:37 +0000 |
---|---|---|
committer | Kenny Root <kenny@the-b.org> | 2009-06-23 14:08:37 +0000 |
commit | 1f9a96b88003ea87709e38883b85605c9a108a2c (patch) | |
tree | e7ca6ab5cd0c8aae63a70979e8d2fda39372cf80 /res/layout | |
parent | 4c8505bda7e529ceb8a6c821c8b5c885bea5436a (diff) | |
download | connectbot-1f9a96b88003ea87709e38883b85605c9a108a2c.tar.gz connectbot-1f9a96b88003ea87709e38883b85605c9a108a2c.tar.bz2 connectbot-1f9a96b88003ea87709e38883b85605c9a108a2c.zip |
Add color customization capabilities
git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@326 df292f66-193f-0410-a5fc-6d59da041ff2
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/act_colors.xml | 67 |
1 files changed, 67 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> |