activity_result.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. style="@android:attr/buttonBarButtonStyle"
  66. android:text="Pre Page" />
  67. <Button
  68. android:id="@+id/btn_next"
  69. android:layout_width="wrap_content"
  70. android:layout_height="wrap_content"
  71. android:layout_weight="1"
  72. style="@android:attr/buttonBarButtonStyle"
  73. android:text="Next Page" />
  74. </LinearLayout>
  75. <TextView
  76. android:id="@+id/head"
  77. android:layout_width="wrap_content"
  78. android:layout_height="wrap_content"
  79. android:layout_alignParentTop="true"
  80. android:layout_centerHorizontal="true"
  81. android:text="aaa"
  82. android:textAppearance="?android:attr/textAppearanceLarge" />
  83. </RelativeLayout>