activity_search_list.xml 1.6 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=".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/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="@string/search" />
  39. </LinearLayout>
  40. </RelativeLayout>