activity_search.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. tools:context=".SearchActivity" >
  6. <ListView
  7. android:id="@android:id/list"
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:layout_above="@+id/foot"
  11. android:layout_alignParentLeft="true"
  12. android:layout_alignParentTop="true" >
  13. </ListView>
  14. <LinearLayout
  15. android:id="@+id/foot"
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:layout_alignParentBottom="true"
  19. android:layout_alignParentLeft="true"
  20. android:orientation="vertical" >
  21. <LinearLayout
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content"
  24. android:orientation="horizontal" >
  25. <Button
  26. android:id="@+id/btncancel"
  27. style="?android:attr/buttonStyleSmall"
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:layout_weight="1"
  31. android:text="@android:string/cancel" />
  32. <Button
  33. android:id="@+id/btnok"
  34. style="?android:attr/buttonStyleSmall"
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:layout_weight="1"
  38. android:text="@android:string/ok" />
  39. </LinearLayout>
  40. </LinearLayout>
  41. </RelativeLayout>