base_html_layout.xml 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/base_web_container"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="#f0f0f0"
  7. android:fitsSystemWindows="true"
  8. android:textAlignment="center" >
  9. <FrameLayout
  10. android:id="@+id/base_html_web_view_frame_layout"
  11. android:layout_width="match_parent"
  12. android:layout_height="match_parent"
  13. android:fitsSystemWindows="true"
  14. android:visibility="visible">
  15. </FrameLayout>
  16. <LinearLayout
  17. android:id="@+id/base_webview_title"
  18. android:layout_width="fill_parent"
  19. android:layout_height="52dp"
  20. android:background="#eaeaea"
  21. android:orientation="horizontal"
  22. android:layout_alignParentBottom="true"
  23. android:visibility="gone"
  24. android:gravity="center">
  25. <TextView
  26. android:id="@+id/base_webview_back"
  27. android:layout_width="0dp"
  28. android:layout_height="match_parent"
  29. android:layout_weight="1.0"
  30. android:background="#c0c0c0"
  31. android:textColor="#757575"
  32. android:textSize="18sp"
  33. android:gravity="center"
  34. android:text="@string/base_webview_back"/>
  35. <View
  36. android:layout_marginTop="5dp"
  37. android:layout_marginBottom="5dp"
  38. android:layout_width="1px"
  39. android:layout_height="match_parent"
  40. android:background="#adadad"/>
  41. <TextView
  42. android:id="@+id/base_webview_close"
  43. android:layout_width="0dp"
  44. android:layout_height="match_parent"
  45. android:layout_weight="1.0"
  46. android:background="#c0c0c0"
  47. android:textColor="#757575"
  48. android:textSize="18sp"
  49. android:gravity="center"
  50. android:text="@string/base_webview_close"/>
  51. <View
  52. android:layout_marginTop="5dp"
  53. android:layout_marginBottom="5dp"
  54. android:layout_width="1px"
  55. android:layout_height="match_parent"
  56. android:id="@+id/base_webview_browser_gap"
  57. android:background="#adadad"/>
  58. <TextView
  59. android:id="@+id/base_webview_browser"
  60. android:layout_width="0dp"
  61. android:layout_height="match_parent"
  62. android:layout_weight="1.0"
  63. android:background="#c0c0c0"
  64. android:textColor="#757575"
  65. android:textSize="18sp"
  66. android:gravity="center"
  67. android:text="@string/base_webview_browser"/>
  68. </LinearLayout>
  69. <ViewStub
  70. android:id="@+id/loading_view_stub"
  71. android:layout_width="match_parent"
  72. android:layout_height="match_parent"
  73. android:inflatedId="@+id/loading_view"
  74. android:layout="@layout/loading_view"
  75. android:visibility="gone"/>
  76. <ViewStub
  77. android:id="@+id/gw_empty_stub"
  78. android:layout_width="match_parent"
  79. android:layout_height="match_parent"
  80. android:inflatedId="@+id/gw_empty_view"
  81. android:layout="@layout/gw_empty_layout"
  82. android:visibility="gone" />
  83. </RelativeLayout>