aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout-land
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2008-11-19 17:12:59 +0000
committerKenny Root <kenny@the-b.org>2008-11-19 17:12:59 +0000
commit5bfc8f84db11ddd47b2e818835bb40b4d5b7d4ba (patch)
tree00c023a752501ecfbebd25aa801dd443d6b0c7e1 /res/layout-land
parent8781fd2b9fbc560238ccec6b1d45dee3209f49b1 (diff)
downloadconnectbot-5bfc8f84db11ddd47b2e818835bb40b4d5b7d4ba.tar.gz
connectbot-5bfc8f84db11ddd47b2e818835bb40b4d5b7d4ba.tar.bz2
connectbot-5bfc8f84db11ddd47b2e818835bb40b4d5b7d4ba.zip
* Fix disconnect prompt when in port orientation
* Fix answerback to send back current terminal emulation mode * Abstract beans to allow serialization into XML
Diffstat (limited to 'res/layout-land')
-rw-r--r--res/layout-land/act_console.xml120
1 files changed, 120 insertions, 0 deletions
diff --git a/res/layout-land/act_console.xml b/res/layout-land/act_console.xml
new file mode 100644
index 0000000..d471718
--- /dev/null
+++ b/res/layout-land/act_console.xml
@@ -0,0 +1,120 @@
+<?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"
+ android:background="#ff000000"
+ >
+
+ <TextView
+ android:id="@android:id/empty"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:text="No hosts currently connected"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:gravity="center"
+ />
+
+ <ViewFlipper
+ android:id="@+id/console_flip"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ />
+
+ <RelativeLayout
+ android:id="@+id/console_password_group"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_alignParentBottom="true"
+ android:padding="5dip"
+ android:fadingEdge="horizontal"
+ android:fadingEdgeLength="25dip"
+ android:visibility="gone"
+ >
+
+ <TextView
+ android:id="@+id/console_password_hint"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:layout_width="fill_parent"
+ android:layout_above="@+id/console_password"
+ />
+
+ <EditText
+ android:id="@+id/console_password"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:password="true"
+ android:singleLine="true"
+ android:layout_alignParentBottom="true"
+ />
+
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/console_boolean_group"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_alignParentBottom="true"
+ android:padding="5dip"
+ android:background="#88000000"
+ android:fadingEdge="horizontal"
+ android:fadingEdgeLength="25dip"
+ android:visibility="gone"
+ >
+
+ <Button
+ android:id="@+id/console_prompt_no"
+ android:text="No"
+ android:paddingTop="5dip"
+ android:paddingBottom="10dip"
+ android:paddingLeft="40dip"
+ android:paddingRight="40dip"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:clickable="false"
+ android:layout_alignParentBottom="true"
+ />
+
+ <Button
+ android:id="@+id/console_prompt_yes"
+ android:text="Yes"
+ android:paddingTop="5dip"
+ android:paddingBottom="10dip"
+ android:paddingLeft="40dip"
+ android:paddingRight="40dip"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_toLeftOf="@+id/console_prompt_no"
+ android:layout_alignParentBottom="true"
+ />
+
+ <TextView
+ android:id="@+id/console_prompt"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:layout_toLeftOf="@+id/console_prompt_yes"
+ android:layout_width="fill_parent"
+ android:layout_alignParentBottom="true"
+ />
+
+ </RelativeLayout>
+
+</RelativeLayout> \ No newline at end of file