diff options
author | Jeffrey Sharkey <jsharkey@jsharkey.org> | 2008-10-27 19:05:01 +0000 |
---|---|---|
committer | Jeffrey Sharkey <jsharkey@jsharkey.org> | 2008-10-27 19:05:01 +0000 |
commit | d92d47b5cae3d1b60920a33f24e0fd23fe0054ec (patch) | |
tree | 86fe6e68a609474be410fe8db6e12f5f6457bbb6 /res/layout | |
parent | c394e79b95caaa2b0eb21241dacf5b7373cef887 (diff) | |
download | connectbot-d92d47b5cae3d1b60920a33f24e0fd23fe0054ec.tar.gz connectbot-d92d47b5cae3d1b60920a33f24e0fd23fe0054ec.tar.bz2 connectbot-d92d47b5cae3d1b60920a33f24e0fd23fe0054ec.zip |
* added better keyboard shortcut into to wizard
* moved a large chunk of strings into strings.xml, still need to think harder about how to handle in TerminalBridge because it needs a Resources object
* udpated version strings in manifest to 1.1 and 110
* removed R.java file to help svn-build-bot
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/wiz_features.xml | 14 | ||||
-rw-r--r-- | res/layout/wiz_keyboard.xml | 89 |
2 files changed, 92 insertions, 11 deletions
diff --git a/res/layout/wiz_features.xml b/res/layout/wiz_features.xml index cfda82a..c372010 100644 --- a/res/layout/wiz_features.xml +++ b/res/layout/wiz_features.xml @@ -44,15 +44,7 @@ android:layout_height="wrap_content" android:text="When you have multiple sessions open, you can 'pan' between them by swiping your finger left-to-right or right-to-left over the screen." android:textAppearance="?android:attr/textAppearanceMedium" - android:paddingBottom="10dip" - /> - - <TextView - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:text="Use the volume up/down buttons to change font size for a console." - android:textAppearance="?android:attr/textAppearanceMedium" - android:paddingBottom="10dip" + android:paddingBottom="15dip" /> <TextView @@ -60,7 +52,7 @@ android:layout_height="wrap_content" android:text="Long-press on your Android desktop to create direct shortcuts to frequently-used SSH hosts." android:textAppearance="?android:attr/textAppearanceMedium" - android:paddingBottom="10dip" + android:paddingBottom="15dip" /> <TextView @@ -68,7 +60,7 @@ android:layout_height="wrap_content" android:text="Slide your finger up/down on the right-half of the terminal screen to look at the scrollback history. Slide up/down on the left-half to send the page up/down keys." android:textAppearance="?android:attr/textAppearanceMedium" - android:paddingBottom="10dip" + android:paddingBottom="15dip" /> </LinearLayout> diff --git a/res/layout/wiz_keyboard.xml b/res/layout/wiz_keyboard.xml new file mode 100644 index 0000000..b51bb62 --- /dev/null +++ b/res/layout/wiz_keyboard.xml @@ -0,0 +1,89 @@ +<?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/>. +--> +<ScrollView + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_weight="1" + > + +<LinearLayout + android:orientation="vertical" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:padding="10dip" + > + + <TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="Keyboard magic" + android:textAppearance="?android:attr/textAppearanceLarge" + android:paddingBottom="10dip" + android:textStyle="bold" + /> + + <ImageView + android:layout_width="fill_parent" + android:layout_height="150dip" + android:src="@drawable/keyboard" + android:paddingBottom="10dip" + /> + + + <TableLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + > + + <TableRow> + <TextView android:text="Volume key" android:paddingRight="10dip" android:gravity="right|center_vertical" android:textAppearance="?android:attr/textAppearanceMedium" android:textStyle="bold" /> + <TextView android:text="Tap up/down to\nchange font size\nin console" android:textAppearance="?android:attr/textAppearanceMedium" android:paddingBottom="10dip" /> + </TableRow> + + <TableRow> + <TextView android:text="Right alt" android:paddingRight="10dip" android:gravity="right|center_vertical" android:textAppearance="?android:attr/textAppearanceMedium" android:textStyle="bold" /> + <TextView android:text="Tap for '/'" android:textAppearance="?android:attr/textAppearanceMedium" android:paddingBottom="10dip" /> + </TableRow> + + <TableRow> + <TextView android:text="Right shift" android:paddingRight="10dip" android:gravity="right|center_vertical" android:textAppearance="?android:attr/textAppearanceMedium" android:textStyle="bold" /> + <TextView android:text="Tap for 'TAB' key" android:textAppearance="?android:attr/textAppearanceMedium" android:paddingBottom="10dip" /> + </TableRow> + + <TableRow> + <TextView android:text="Trackball" android:paddingRight="10dip" android:gravity="right|center_vertical" android:textAppearance="?android:attr/textAppearanceMedium" android:textStyle="bold" /> + <TextView android:text="Tap once to toggle\nCTRL on, twice\nto send Esc" android:textAppearance="?android:attr/textAppearanceMedium" android:paddingBottom="10dip" /> + </TableRow> + + <TableRow> + <TextView android:text="Left shift" android:paddingRight="10dip" android:gravity="right|center_vertical" android:textAppearance="?android:attr/textAppearanceMedium" android:textStyle="bold" /> + <TextView android:text="Hold left shift and\ntap number for\nF1, F2, etc" android:textAppearance="?android:attr/textAppearanceMedium" android:paddingBottom="10dip" /> + </TableRow> + + <TableRow> + <TextView android:text="Picture key" android:paddingRight="10dip" android:gravity="right|center_vertical" android:textAppearance="?android:attr/textAppearanceMedium" android:textStyle="bold" /> + <TextView android:text="Tap to send Ctrl+A\nSpace (for 'screen'\nusers)" android:textAppearance="?android:attr/textAppearanceMedium" android:paddingBottom="10dip" /> + </TableRow> + + </TableLayout> + +</LinearLayout> + +</ScrollView>
\ No newline at end of file |