diff options
author | Jeffrey Sharkey <jsharkey@jsharkey.org> | 2008-10-23 15:48:47 +0000 |
---|---|---|
committer | Jeffrey Sharkey <jsharkey@jsharkey.org> | 2008-10-23 15:48:47 +0000 |
commit | 0685384d0528e9186561d02f9193d658adeb3d45 (patch) | |
tree | fa9824dab3079122324a5a2e1d64366f0daf5f36 | |
parent | 23df08aaeaa5bdf0519442072aad7e5521939407 (diff) | |
download | connectbot-0685384d0528e9186561d02f9193d658adeb3d45.tar.gz connectbot-0685384d0528e9186561d02f9193d658adeb3d45.tar.bz2 connectbot-0685384d0528e9186561d02f9193d658adeb3d45.zip |
* forgot to add several files in last pass
* wizard layouts, buttons, and connected stateful drawable
-rw-r--r-- | res/drawable/connected.xml | 4 | ||||
-rw-r--r-- | res/drawable/ic_btn_back.png | bin | 0 -> 861 bytes | |||
-rw-r--r-- | res/drawable/ic_btn_next.png | bin | 0 -> 729 bytes | |||
-rw-r--r-- | res/layout/act_hostlist.xml | 31 | ||||
-rw-r--r-- | res/layout/act_wizard.xml | 52 | ||||
-rw-r--r-- | res/layout/wiz_eula.xml | 60 | ||||
-rw-r--r-- | res/layout/wiz_features.xml | 51 | ||||
-rw-r--r-- | res/values/strings.xml | 3 |
8 files changed, 200 insertions, 1 deletions
diff --git a/res/drawable/connected.xml b/res/drawable/connected.xml new file mode 100644 index 0000000..b22c7cf --- /dev/null +++ b/res/drawable/connected.xml @@ -0,0 +1,4 @@ +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_checked="true" android:drawable="@android:drawable/presence_online" /> + <item android:drawable="@android:drawable/presence_invisible" /> +</selector> diff --git a/res/drawable/ic_btn_back.png b/res/drawable/ic_btn_back.png Binary files differnew file mode 100644 index 0000000..9615e67 --- /dev/null +++ b/res/drawable/ic_btn_back.png diff --git a/res/drawable/ic_btn_next.png b/res/drawable/ic_btn_next.png Binary files differnew file mode 100644 index 0000000..ea2a80e --- /dev/null +++ b/res/drawable/ic_btn_next.png diff --git a/res/layout/act_hostlist.xml b/res/layout/act_hostlist.xml new file mode 100644 index 0000000..89d6e4f --- /dev/null +++ b/res/layout/act_hostlist.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + > + + <ListView android:id="@+id/front_hostlist" + android:layout_width="fill_parent" + android:layout_height="0dip" + android:layout_weight="1" + /> + + + <FrameLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:padding="5dip" + > + + <EditText + android:id="@+id/front_quickconnect" + android:singleLine="true" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:hint="user@hostname" + /> + + </FrameLayout> + +</LinearLayout> diff --git a/res/layout/act_wizard.xml b/res/layout/act_wizard.xml new file mode 100644 index 0000000..eabf628 --- /dev/null +++ b/res/layout/act_wizard.xml @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:gravity="right" + > + +<ScrollView + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_weight="1" + android:id="@+id/wizard_scroll" + > + + <ViewFlipper + android:id="@+id/wizard_flipper" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + /> + +</ScrollView> + +<LinearLayout + android:orientation="horizontal" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:padding="10dip" + > + + <Button + android:id="@+id/action_prev" + android:layout_width="120dip" + android:layout_height="wrap_content" + android:drawableLeft="@drawable/ic_btn_back" + android:text="Cancel" + android:gravity="center" + /> + + <Button + android:id="@+id/action_next" + android:layout_width="120dip" + android:layout_height="wrap_content" + android:drawableRight="@drawable/ic_btn_next" + android:text="Agree" + android:gravity="center" + /> + +</LinearLayout> + +</LinearLayout>
\ No newline at end of file diff --git a/res/layout/wiz_eula.xml b/res/layout/wiz_eula.xml new file mode 100644 index 0000000..731a5ad --- /dev/null +++ b/res/layout/wiz_eula.xml @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + 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="ConnectBot is an simple, powerful, open-source SSH client for your Android device." + android:textAppearance="?android:attr/textAppearanceMedium" + /> + + <TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingTop="10dip" + android:text="It can manage several SSH sessions in the background, and can copy/paste between other apps." + android:textAppearance="?android:attr/textAppearanceMedium" + /> + + <TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingTop="10dip" + android:text="Before we get started, we need to get some legal information out of the way. ConnectBot is provided under a GPLv3 license. Here are a few key points:\n\nThere is no warranty for the program, to the extent permitted by applicable law. Except when otherwise stated in writing the copyright holders and/or other parties provide the program 'as is' without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the program is with you. Should the program prove defective, you assume the cost of all necessary servicing, repair or correction.\n\nIn no event unless required by applicable law or agreed to in writing will any copyright holder, or any other party who modifies and/or conveys the program as permitted above, be liable to you for damages, including any general, special, incidental or consequential damages arising out of the use or inability to use the program (including but not limited to loss of data or data being rendered inaccurate or losses sustained by you or third parties or a failure of the program to operate with any other programs), even if such holder or other party has been advised of the possibility of such damages." + android:textAppearance="?android:attr/textAppearanceSmall" + /> + + <TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingTop="10dip" + android:autoLink="web" + android:text="You can view the full text at http://www.gnu.org/licenses/gpl-3.0.txt" + android:textAppearance="?android:attr/textAppearanceSmall" + /> + + <TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingTop="10dip" + android:text="About and Credits" + android:textAppearance="?android:attr/textAppearanceMedium" + /> + + <TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingTop="10dip" + android:autoLink="web" + android:text="Copyright (c) 2007-2008 Kenny Root http://the-b.org, Jeffrey Sharkey http://jsharkey.org\n\nBased in part on the Trilead SSH2 client, provided under a BSD-style license. Copyright (c) 2007 Trilead AG. http://www.trilead.com\n\nAlso based on JTA Telnet/SSH client, provided under the GPLv2 license. Copyright (c) Matthias L. Jugel, Marcus Meiner 1996-2005. http://www.javassh.org" + android:textAppearance="?android:attr/textAppearanceSmall" + /> + + +</LinearLayout> diff --git a/res/layout/wiz_features.xml b/res/layout/wiz_features.xml new file mode 100644 index 0000000..8ccf6b1 --- /dev/null +++ b/res/layout/wiz_features.xml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + 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="Helpful hints" + android:textAppearance="?android:attr/textAppearanceLarge" + android:paddingBottom="10dip" + android:textStyle="bold" + /> + + <TextView + android:layout_width="fill_parent" + 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" + /> + + <TextView + android:layout_width="fill_parent" + 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" + /> + + <TextView + android:layout_width="fill_parent" + 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" + /> + +</LinearLayout> diff --git a/res/values/strings.xml b/res/values/strings.xml index eb8cdff..d2716d7 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources> - <string name="app_name">Connectbot</string> + <string name="app_name">ConnectBot</string> + <string name="app_desc">Simple, powerful, open-source SSH client.</string> <string name="title_hosts_list">Connectbot</string> <string name="title_host">Host</string> |