diff options
author | Kenny Root <kenny@the-b.org> | 2009-06-15 16:35:59 +0000 |
---|---|---|
committer | Kenny Root <kenny@the-b.org> | 2009-06-15 16:35:59 +0000 |
commit | 534184380cd7762bc1be3c5174af001e33f9b08d (patch) | |
tree | e0644be305ec82ce9ec51f66333deaec3a96070f /res/layout | |
parent | 2adc14e72659787a09aa4b9b40334dc0e1df9194 (diff) | |
download | connectbot-534184380cd7762bc1be3c5174af001e33f9b08d.tar.gz connectbot-534184380cd7762bc1be3c5174af001e33f9b08d.tar.bz2 connectbot-534184380cd7762bc1be3c5174af001e33f9b08d.zip |
Add multiple transports
git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@298 df292f66-193f-0410-a5fc-6d59da041ff2
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/act_hostlist.xml | 70 |
1 files changed, 33 insertions, 37 deletions
diff --git a/res/layout/act_hostlist.xml b/res/layout/act_hostlist.xml index 0b655bb..e9960c9 100644 --- a/res/layout/act_hostlist.xml +++ b/res/layout/act_hostlist.xml @@ -17,50 +17,46 @@ along with this program. If not, see <http://www.gnu.org/licenses/> --> -<LinearLayout +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > - <RelativeLayout - android:layout_width="fill_parent" - android:layout_height="0dip" - android:layout_weight="1" - > - - <ListView - android:id="@android:id/list" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - /> - - <TextView - android:id="@android:id/empty" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:text="@string/list_host_empty" - android:textAppearance="?android:attr/textAppearanceMedium" - android:gravity="center" - /> - - </RelativeLayout> - - <FrameLayout + <Spinner + android:id="@+id/transport_selection" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:layout_alignParentBottom="true" + android:layout_alignParentLeft="true" + /> + + <EditText + android:id="@+id/front_quickconnect" + android:singleLine="true" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:padding="5dip" - > + android:hint="@string/hint_userhost" + android:layout_toRightOf="@+id/transport_selection" + android:layout_alignTop="@+id/transport_selection" + /> - <EditText - android:id="@+id/front_quickconnect" - android:singleLine="true" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:hint="@string/hint_userhost" - android:inputType="textEmailAddress" - /> + <ListView + android:id="@android:id/list" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_above="@+id/transport_selection" + /> - </FrameLayout> -</LinearLayout> + <TextView + android:id="@android:id/empty" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:text="@string/list_host_empty" + android:textAppearance="?android:attr/textAppearanceMedium" + android:gravity="center" + android:layout_above="@+id/transport_selection" + /> + +</RelativeLayout> |