bd_dialog_hint_floatview.xml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="260dp"
  4. android:layout_height="160dp"
  5. android:background="@drawable/bd_dialog_round_bg"
  6. android:orientation="vertical" >
  7. <RelativeLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="110dp" >
  10. <ImageView
  11. android:id="@+id/bd_iv_back_close"
  12. android:layout_width="wrap_content"
  13. android:layout_height="wrap_content"
  14. android:layout_alignParentRight="true"
  15. android:layout_alignParentTop="true"
  16. android:layout_marginRight="18dp"
  17. android:layout_marginTop="18dp"
  18. android:visibility="gone"
  19. android:background="@drawable/bd_btn_selector_notice_close" />
  20. <TextView
  21. android:id="@+id/bd_content"
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content"
  24. android:layout_centerInParent="true"
  25. android:gravity="center"
  26. android:text="@string/bd_floatview_hint_content"
  27. android:textColor="@color/bdp_color_color_ff333333"
  28. android:textSize="16sp" />
  29. <TextView
  30. android:layout_width="match_parent"
  31. android:layout_height="match_parent"
  32. android:layout_alignTop="@id/bd_content"
  33. android:layout_centerInParent="true"
  34. android:layout_marginTop="16dp"
  35. android:gravity="center"
  36. android:text="@string/bd_floatview_hint_subtext"
  37. android:textColor="@color/bdp_color_color_ffcccccc"
  38. android:textSize="14sp" />
  39. </RelativeLayout>
  40. <View
  41. android:layout_width="match_parent"
  42. android:layout_height="0.5dp"
  43. android:background="@color/bdp_color_cccccc" />
  44. <LinearLayout
  45. android:layout_width="match_parent"
  46. android:layout_height="50dp"
  47. android:orientation="horizontal" >
  48. <TextView
  49. android:id="@+id/bd_tv_cancel"
  50. android:layout_width="match_parent"
  51. android:layout_height="match_parent"
  52. android:layout_weight="1"
  53. android:gravity="center"
  54. android:text="@string/bd_cancel"
  55. android:textColor="@color/bdp_color_color_ffcfcfcf"
  56. android:textSize="16sp" />
  57. <View
  58. android:id="@+id/bd_tv_middle"
  59. android:layout_width="0.5dp"
  60. android:layout_height="match_parent"
  61. android:layout_marginBottom="12dp"
  62. android:layout_marginTop="12dp"
  63. android:background="@color/bdp_color_color_ffc6c6c6"
  64. android:gravity="center" />
  65. <TextView
  66. android:id="@+id/bd_tv_confim"
  67. android:layout_width="match_parent"
  68. android:layout_height="match_parent"
  69. android:layout_weight="1"
  70. android:gravity="center"
  71. android:text="@string/bd_confirm"
  72. android:textColor="@color/bdp_color_color_1c46a3"
  73. android:textSize="16sp" />
  74. </LinearLayout>
  75. </LinearLayout>