activity_result.xml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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:gravity="center_horizontal"
  13. android:orientation="vertical"
  14. android:background="#80808080"
  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. <ScrollView
  30. android:id="@+id/search_form"
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content"
  33. android:layout_above="@+id/btn_more"
  34. android:layout_below="@+id/tv_head" >
  35. <HorizontalScrollView
  36. android:id="@+id/horizontalScrollView1"
  37. android:layout_width="match_parent"
  38. android:layout_height="match_parent" >
  39. <TableLayout
  40. android:id="@+id/result_table"
  41. android:layout_width="wrap_content"
  42. android:layout_height="fill_parent" >
  43. <TableRow
  44. android:id="@+id/tr_header"
  45. android:layout_width="wrap_content"
  46. android:layout_height="wrap_content" >
  47. </TableRow>
  48. </TableLayout>
  49. </HorizontalScrollView>
  50. </ScrollView>
  51. <TextView
  52. android:id="@+id/tv_head"
  53. android:layout_width="wrap_content"
  54. android:layout_height="wrap_content"
  55. android:layout_alignParentTop="true"
  56. android:layout_centerHorizontal="true"
  57. android:text=""
  58. android:textAppearance="?android:attr/textAppearanceLarge" />
  59. <Button
  60. android:id="@+id/btn_more"
  61. android:layout_width="fill_parent"
  62. android:layout_height="wrap_content"
  63. android:layout_alignParentBottom="true"
  64. android:layout_alignParentLeft="true"
  65. android:text="Load More" />
  66. </RelativeLayout>