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