aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout/dia_portforward.xml
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2009-06-11 16:38:34 +0000
committerKenny Root <kenny@the-b.org>2009-06-11 16:38:34 +0000
commitff7d12e9cf8fe9e7255e535c29be3aa46cc3e7bc (patch)
tree8e8f60023e9711fd9d285fbfb1480db1f1332c06 /res/layout/dia_portforward.xml
parent58032b289fd6dddb8fcea4cceaf4ed7e29d7c9e8 (diff)
downloadconnectbot-ff7d12e9cf8fe9e7255e535c29be3aa46cc3e7bc.tar.gz
connectbot-ff7d12e9cf8fe9e7255e535c29be3aa46cc3e7bc.tar.bz2
connectbot-ff7d12e9cf8fe9e7255e535c29be3aa46cc3e7bc.zip
Port forward activity fixes
* Fix bug where you couldn't change port forward types while they were in use * Fixed layout to be 1.5 compliant * Changed example from source port "143" which is invalid to "8080" which would work git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@281 df292f66-193f-0410-a5fc-6d59da041ff2
Diffstat (limited to 'res/layout/dia_portforward.xml')
-rw-r--r--res/layout/dia_portforward.xml9
1 files changed, 4 insertions, 5 deletions
diff --git a/res/layout/dia_portforward.xml b/res/layout/dia_portforward.xml
index fe7abcb..b40d0ca 100644
--- a/res/layout/dia_portforward.xml
+++ b/res/layout/dia_portforward.xml
@@ -75,12 +75,11 @@
<EditText
android:id="@+id/portforward_source"
- android:hint="143"
+ android:hint="8080"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:numeric="integer"
- android:singleLine="true"
android:layout_weight="1"
+ android:inputType="number"
/>
</TableRow>
@@ -94,11 +93,11 @@
<EditText
android:id="@+id/portforward_destination"
- android:hint="localhost:143"
+ android:hint="localhost:80"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:singleLine="true"
android:layout_weight="1"
+ android:inputType="textEmailAddress"
/>
</TableRow>
</TableLayout>