bd_floatview_landscape_h5.xml 4.4 KB

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