bd_dialog_back_default.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. ~ Copyright (C) 2019 Baidu, Inc. All Rights Reserved.
  4. -->
  5. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  6. android:layout_width="280dp"
  7. android:layout_height="170dp"
  8. android:background="@drawable/bd_dialog_round_bg"
  9. android:orientation="vertical" >
  10. <RelativeLayout
  11. android:layout_width="match_parent"
  12. android:layout_height="120dp" >
  13. <ImageView
  14. android:id="@+id/bd_iv_back_close"
  15. android:layout_width="15dp"
  16. android:layout_height="15dp"
  17. android:layout_alignParentRight="true"
  18. android:layout_alignParentTop="true"
  19. android:layout_marginRight="18dp"
  20. android:layout_marginTop="18dp"
  21. android:background="@drawable/bd_btn_selector_notice_close" />
  22. <TextView
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content"
  25. android:layout_centerInParent="true"
  26. android:gravity="center"
  27. android:text="@string/bd_user_back_exit_content"
  28. android:textColor="#333333"
  29. android:textSize="17sp" />
  30. </RelativeLayout>
  31. <View
  32. android:layout_width="match_parent"
  33. android:layout_height="1px"
  34. android:background="#cccccc" />
  35. <RelativeLayout
  36. android:layout_width="match_parent"
  37. android:layout_height="50dp" >
  38. <RelativeLayout
  39. android:id="@+id/bd_rl_hot"
  40. android:layout_width="match_parent"
  41. android:layout_height="50dp"
  42. android:layout_alignParentLeft="true"
  43. android:layout_centerVertical="true" >
  44. <TextView
  45. android:id="@+id/bd_tv_hot"
  46. android:layout_width="wrap_content"
  47. android:layout_height="match_parent"
  48. android:layout_marginLeft="50dp"
  49. android:gravity="center"
  50. android:text="@string/bd_user_back_hot"
  51. android:textColor="#e5006a"
  52. android:textSize="16sp" />
  53. <ImageView
  54. android:id="@+id/bd_tv_hot_logo"
  55. android:layout_width="wrap_content"
  56. android:layout_height="wrap_content"
  57. android:layout_marginLeft="3dp"
  58. android:layout_marginTop="17dp"
  59. android:layout_toRightOf="@+id/bd_tv_hot"
  60. android:background="@drawable/bd_tv_hot_logo" />
  61. </RelativeLayout>
  62. <View
  63. android:layout_width="1px"
  64. android:layout_height="match_parent"
  65. android:layout_centerInParent="true"
  66. android:layout_marginBottom="15dp"
  67. android:layout_marginTop="15dp"
  68. android:background="#c6c6c6" />
  69. <TextView
  70. android:id="@+id/bd_tv_cancel"
  71. android:layout_width="wrap_content"
  72. android:layout_height="match_parent"
  73. android:layout_marginLeft="55dp"
  74. android:gravity="center"
  75. android:text="@string/bd_user_back_cancel"
  76. android:textColor="#cfcfcf"
  77. android:textSize="16sp"
  78. android:visibility="gone" />
  79. <TextView
  80. android:id="@+id/bd_tv_exit"
  81. android:layout_width="wrap_content"
  82. android:layout_height="match_parent"
  83. android:layout_alignParentRight="true"
  84. android:layout_centerVertical="true"
  85. android:layout_marginRight="50dp"
  86. android:gravity="center"
  87. android:text="@string/bd_user_back_exit"
  88. android:textColor="#cfcfcf"
  89. android:textSize="16sp" />
  90. </RelativeLayout>
  91. </LinearLayout>