aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2008-11-02 11:44:39 +0000
committerKenny Root <kenny@the-b.org>2008-11-02 11:44:39 +0000
commitccc3a32792175a561fc2c75ccc4fd9f441295830 (patch)
tree05d90f9f69fb4bda76cbdf0dfa7fcfd88dcad94d /res/layout
parent4432df30987dd217ef639020c0198aa06925ba0f (diff)
downloadconnectbot-ccc3a32792175a561fc2c75ccc4fd9f441295830.tar.gz
connectbot-ccc3a32792175a561fc2c75ccc4fd9f441295830.tar.bz2
connectbot-ccc3a32792175a561fc2c75ccc4fd9f441295830.zip
* Allow users to force screen size to specific dimensions.
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/dia_resize.xml52
1 files changed, 52 insertions, 0 deletions
diff --git a/res/layout/dia_resize.xml b/res/layout/dia_resize.xml
new file mode 100644
index 0000000..208e7a4
--- /dev/null
+++ b/res/layout/dia_resize.xml
@@ -0,0 +1,52 @@
+<?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/>.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ >
+
+ <EditText
+ android:id="@+id/width"
+ android:layout_width="100dip"
+ android:layout_height="wrap_content"
+ android:singleLine="true"
+ android:numeric="integer" android:text="80"/>
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="x"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:gravity="right|bottom"
+ android:textAppearance="?android:attr/textAppearanceLarge"
+ />
+
+
+ <EditText
+ android:id="@+id/height"
+ android:layout_width="100dip"
+ android:layout_height="wrap_content"
+ android:singleLine="true"
+ android:numeric="integer" android:text="25"/>
+</LinearLayout> \ No newline at end of file