diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-27 16:00:22 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-27 16:00:22 +0000 |
commit | eaf3aa26d10a577fdcd71df3bf169e614d71e3d9 (patch) | |
tree | 6d2ffebfac3742c42d15511e527779b48abb7ead /sandbox/travelsample/scatours-android-ui/res/layout | |
parent | e6ec4f01650a91757c094f52057eda954447c055 (diff) |
Updating initial android ui based on scatour web ui
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@779216 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sandbox/travelsample/scatours-android-ui/res/layout/main.xml | 68 |
1 files changed, 60 insertions, 8 deletions
diff --git a/sandbox/travelsample/scatours-android-ui/res/layout/main.xml b/sandbox/travelsample/scatours-android-ui/res/layout/main.xml index 3a5f117d3c..180326ab2d 100644 --- a/sandbox/travelsample/scatours-android-ui/res/layout/main.xml +++ b/sandbox/travelsample/scatours-android-ui/res/layout/main.xml @@ -1,12 +1,64 @@ <?xml version="1.0" encoding="utf-8"?> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - > -<TextView android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:text="@string/hello" - /> + android:layout_height="wrap_content"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="From:" /> + + <AutoCompleteTextView android:id="@+id/edit_fromLocation" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="LGW"/> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="To:"/> + + <AutoCompleteTextView android:id="@+id/edit_toLocation" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="FLR"/> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Start Date:" /> + + <AutoCompleteTextView android:id="@+id/edit_date_start" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="06/12/09"/> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="End Date:" /> + + <AutoCompleteTextView android:id="@+id/edit_date_end" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="13/12/09"/> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Number of People:" /> + + <AutoCompleteTextView android:id="@+id/edit_NumberOfPeople" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="2"/> + + + <Button android:id="@+id/btnSearch" + android:layout_width="100px" + android:layout_height="40px"/> + </LinearLayout> + + |