activity_search_list.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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=".SearchListActivity" >
  6. <ScrollView
  7. android:id="@+id/scrollView1"
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:layout_above="@+id/foot" >
  11. <LinearLayout
  12. android:id="@+id/ll_list"
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. android:orientation="vertical" >
  16. </LinearLayout>
  17. </ScrollView>
  18. <LinearLayout
  19. android:id="@+id/foot"
  20. android:layout_width="match_parent"
  21. android:layout_height="wrap_content"
  22. android:layout_alignParentBottom="true"
  23. android:layout_alignParentLeft="true"
  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/btn_clear"
  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="@string/str_reset" />
  39. <Button
  40. android:id="@+id/btnok"
  41. style="?android:attr/buttonStyleSmall"
  42. android:layout_width="wrap_content"
  43. android:layout_height="wrap_content"
  44. android:layout_weight="1"
  45. android:text="@string/search" />
  46. </LinearLayout>
  47. </RelativeLayout>