bd_floatview_h5.xml 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:background="@color/bd_transparent"
  6. android:gravity="center" >
  7. <LinearLayout
  8. android:id="@+id/bd_ll_header"
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content">
  11. <include
  12. android:id="@+id/bd_layout_prefecture_header"
  13. layout="@layout/bd_container_header"
  14. android:layout_height="@dimen/bd_op_header_height"
  15. android:layout_width="match_parent"
  16. android:layout_marginTop="@dimen/bd_op_portrait_top"/>
  17. </LinearLayout>
  18. <RelativeLayout
  19. android:layout_width="match_parent"
  20. android:layout_height="match_parent"
  21. android:layout_below="@+id/bd_ll_header" >
  22. <FrameLayout
  23. android:layout_width="match_parent"
  24. android:layout_height="match_parent"
  25. android:background="@color/bdp_white" >
  26. <LinearLayout
  27. android:id="@+id/bd_layout_net_error"
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:layout_gravity="center"
  31. android:gravity="center"
  32. android:orientation="vertical" >
  33. <ImageView
  34. android:id="@+id/bd_iv_network_error"
  35. android:layout_width="78dp"
  36. android:layout_height="78dp"
  37. android:src="@drawable/bd_ic_network_info" />
  38. <TextView
  39. android:id="@+id/bd_tv_network_error"
  40. android:layout_width="wrap_content"
  41. android:layout_height="wrap_content"
  42. android:layout_marginTop="19dp"
  43. android:text="@string/bd_tip_web_network_error"
  44. android:textColor="@color/bd_color_666666"
  45. android:textSize="@dimen/bd_text_size_14_sp" />
  46. <Button
  47. android:id="@+id/bd_btn_retry"
  48. android:layout_width="96dp"
  49. android:layout_height="33dp"
  50. android:layout_marginTop="18dp"
  51. android:background="@drawable/bd_web_btn_selector"
  52. android:gravity="center"
  53. android:text="@string/bd_retry"
  54. android:textColor="@color/bd_color_333333"
  55. android:textSize="@dimen/bd_text_size_14_sp" />
  56. </LinearLayout>
  57. <WebView
  58. android:id="@+id/float_web_view"
  59. android:layout_width="match_parent"
  60. android:layout_height="match_parent"/>
  61. <TextView
  62. android:id="@+id/float_web_view_loading"
  63. android:layout_width="wrap_content"
  64. android:layout_height="wrap_content"
  65. android:layout_gravity="center"
  66. android:gravity="center"
  67. android:text="@string/bd_web_loading" />
  68. </FrameLayout>
  69. </RelativeLayout>
  70. <LinearLayout
  71. android:id="@+id/bd_layout_progress_prefecture"
  72. android:layout_width="match_parent"
  73. android:layout_height="match_parent"
  74. android:layout_centerInParent="true"
  75. android:background="@color/bd_transparent"
  76. android:gravity="center"
  77. android:orientation="horizontal"
  78. android:visibility="gone" >
  79. <include
  80. android:layout_width="wrap_content"
  81. android:layout_height="wrap_content"
  82. layout="@layout/bd_common_progress_small" />
  83. </LinearLayout>
  84. </RelativeLayout>