activity_result.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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=".ResultActivity" >
  6. <LinearLayout
  7. android:id="@+id/status"
  8. android:layout_width="wrap_content"
  9. android:layout_height="wrap_content"
  10. android:layout_centerInParent="true"
  11. android:layout_gravity="center"
  12. android:background="#80808080"
  13. android:gravity="center_horizontal"
  14. android:orientation="vertical"
  15. android:visibility="gone" >
  16. <ProgressBar
  17. style="?android:attr/progressBarStyleLarge"
  18. android:layout_width="wrap_content"
  19. android:layout_height="wrap_content"
  20. android:layout_marginBottom="8dp" />
  21. <TextView
  22. android:id="@+id/status_message"
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:layout_marginBottom="16dp"
  26. android:text="Loading..."
  27. android:textAppearance="?android:attr/textAppearanceMedium" />
  28. </LinearLayout>
  29. <HorizontalScrollView
  30. android:id="@+id/search_form"
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content"
  33. android:layout_below="@+id/head"
  34. android:layout_above="@+id/foot" >
  35. <TableLayout
  36. android:id="@+id/result_table"
  37. android:layout_width="wrap_content"
  38. android:layout_height="fill_parent" >
  39. <TableRow
  40. android:id="@+id/tr_header"
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content" >
  43. </TableRow>
  44. </TableLayout>
  45. </HorizontalScrollView>
  46. <LinearLayout
  47. android:id="@+id/foot"
  48. android:layout_width="fill_parent"
  49. android:layout_height="wrap_content"
  50. android:layout_alignParentBottom="true">
  51. <Button
  52. android:id="@+id/btn_pre"
  53. android:layout_width="wrap_content"
  54. android:layout_height="wrap_content"
  55. android:layout_weight="1"
  56. android:text="Pre Page" />
  57. <Button
  58. android:id="@+id/btn_next"
  59. android:layout_width="wrap_content"
  60. android:layout_height="wrap_content"
  61. android:layout_weight="1"
  62. android:text="Next Page" />
  63. </LinearLayout>
  64. <TextView
  65. android:id="@+id/head"
  66. android:layout_width="wrap_content"
  67. android:layout_height="wrap_content"
  68. android:layout_alignParentTop="true"
  69. android:layout_centerHorizontal="true"
  70. android:text="aaa"
  71. android:textAppearance="?android:attr/textAppearanceLarge" />
  72. </RelativeLayout>