activity_result.xml 3.3 KB

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