Advertisement
frozenking

XML(main.xml)

May 14th, 2012
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.72 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  4.    android:layout_width="fill_parent"
  5.    android:layout_height="fill_parent"
  6.    android:orientation="vertical" >
  7.  
  8.     <LinearLayout
  9.        android:layout_width="0px"
  10.        android:layout_height="0px"
  11.        android:focusable="true"
  12.        android:focusableInTouchMode="true" />
  13.  
  14.     <requestFocus />
  15.  
  16.     <LinearLayout
  17.        android:layout_width="fill_parent"
  18.        android:layout_height="wrap_content"
  19.        android:layout_weight="1.0"
  20.        android:orientation="vertical" >
  21.  
  22.         <EditText
  23.            android:id="@+id/navi_searchfield1"
  24.            android:layout_width="fill_parent"
  25.            android:layout_height="wrap_content"
  26.            android:ems="10"
  27.            android:hint="Current location" >
  28.         </EditText>
  29.  
  30.         <ListView
  31.            android:id="@+id/navi_listview1"
  32.            android:layout_width="fill_parent"
  33.            android:layout_height="0dp">
  34.         </ListView>
  35.  
  36.         <EditText
  37.            android:id="@+id/navi_searchfield2"
  38.            android:layout_width="fill_parent"
  39.            android:layout_height="wrap_content"
  40.            android:ems="10"
  41.            android:hint="Destination" />
  42.  
  43.         <ListView
  44.            android:id="@+id/navi_listview2"
  45.            android:layout_width="fill_parent"
  46.            android:layout_height="wrap_content" >
  47.         </ListView>
  48.  
  49.     </LinearLayout>
  50.  
  51.     <Button
  52.        android:id="@+id/start_navigation"
  53.        android:layout_width="fill_parent"
  54.        android:layout_height="40dip"
  55.        android:textColor="#ffffff"
  56.        android:text="Start navigation" />
  57.  
  58. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement