jm_float_view_4.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="wrap_content"
  5. android:layout_height="56dp">
  6. <LinearLayout
  7. android:id="@+id/ll_menu"
  8. android:layout_width="wrap_content"
  9. android:layout_height="56dp"
  10. android:background="@drawable/jmfloat_bg_4"
  11. android:gravity="center"
  12. android:orientation="horizontal"
  13. android:paddingLeft="56dp"
  14. android:paddingRight="12dp"
  15. android:visibility="gone"
  16. tools:visibility="visible">
  17. <FrameLayout
  18. android:id="@+id/tv_account"
  19. android:layout_width="45dp"
  20. android:layout_height="45dp"
  21. android:layout_marginTop="2dp">
  22. <LinearLayout
  23. android:layout_width="45dp"
  24. android:layout_height="45dp"
  25. android:gravity="center"
  26. android:orientation="vertical">
  27. <ImageView
  28. android:layout_width="@dimen/jm_float_icon_size"
  29. android:layout_height="@dimen/jm_float_icon_size"
  30. android:src="@drawable/jm_float_user_4" />
  31. <TextView
  32. android:layout_width="wrap_content"
  33. android:layout_height="wrap_content"
  34. android:text="@string/float_user_msg"
  35. android:textColor="@color/jm_float_text_4"
  36. android:textSize="12sp" />
  37. </LinearLayout>
  38. <ImageView
  39. android:id="@+id/account_tip"
  40. android:layout_width="@dimen/jm_float_tip_size"
  41. android:layout_height="@dimen/jm_float_tip_size"
  42. android:layout_gravity="end"
  43. android:layout_marginRight="10dp"
  44. android:src="@drawable/jm_message_tip"
  45. android:visibility="gone" />
  46. </FrameLayout>
  47. <View
  48. android:id="@+id/tv_gift_line"
  49. android:layout_width="2dp"
  50. android:layout_height="35dp"
  51. android:background="@color/jm_float_text_4" />
  52. <FrameLayout
  53. android:id="@+id/tv_gift"
  54. android:layout_width="45dp"
  55. android:layout_height="45dp"
  56. android:layout_marginTop="2dp">
  57. <LinearLayout
  58. android:layout_width="45dp"
  59. android:layout_height="45dp"
  60. android:gravity="center"
  61. android:orientation="vertical">
  62. <ImageView
  63. android:layout_width="@dimen/jm_float_icon_size"
  64. android:layout_height="@dimen/jm_float_icon_size"
  65. android:src="@drawable/jm_float_gift_4" />
  66. <TextView
  67. android:layout_width="wrap_content"
  68. android:layout_height="wrap_content"
  69. android:text="@string/float_gift"
  70. android:textColor="@color/jm_float_text_4"
  71. android:textSize="12sp" />
  72. </LinearLayout>
  73. <ImageView
  74. android:id="@+id/gift_tip"
  75. android:layout_width="@dimen/jm_float_tip_size"
  76. android:layout_height="@dimen/jm_float_tip_size"
  77. android:layout_gravity="end"
  78. android:layout_marginRight="10dp"
  79. android:src="@drawable/jm_message_tip"
  80. android:visibility="gone" />
  81. </FrameLayout>
  82. <View
  83. android:id="@+id/tv_kefu_line"
  84. android:layout_width="2dp"
  85. android:layout_height="35dp"
  86. android:background="@color/jm_float_text_4" />
  87. <FrameLayout
  88. android:id="@+id/tv_kefu"
  89. android:layout_width="45dp"
  90. android:layout_height="45dp"
  91. android:layout_marginTop="2dp">
  92. <LinearLayout
  93. android:layout_width="45dp"
  94. android:layout_height="45dp"
  95. android:layout_marginTop="2dp"
  96. android:gravity="center"
  97. android:orientation="vertical">
  98. <ImageView
  99. android:layout_width="@dimen/jm_float_icon_size"
  100. android:layout_height="@dimen/jm_float_icon_size"
  101. android:src="@drawable/jm_float_service_4" />
  102. <TextView
  103. android:layout_width="wrap_content"
  104. android:layout_height="wrap_content"
  105. android:text="@string/float_kefu_msg"
  106. android:textColor="@color/jm_float_text_4"
  107. android:textSize="12sp" />
  108. </LinearLayout>
  109. <ImageView
  110. android:id="@+id/kefu_tip"
  111. android:layout_width="@dimen/jm_float_tip_size"
  112. android:layout_height="@dimen/jm_float_tip_size"
  113. android:layout_gravity="end"
  114. android:layout_marginRight="10dp"
  115. android:src="@drawable/jm_message_tip"
  116. tools:visibility="visible"
  117. android:visibility="gone" />
  118. </FrameLayout>
  119. </LinearLayout>
  120. <FrameLayout
  121. android:id="@+id/float_view"
  122. android:layout_width="30dp"
  123. android:layout_height="56dp"
  124. android:padding="2dp"
  125. tools:visibility="gone">
  126. <ImageView
  127. android:id="@+id/float_view_icon_imageView"
  128. android:layout_width="match_parent"
  129. android:layout_height="52dp"
  130. android:layout_gravity="start|center_vertical"
  131. android:scaleType="fitStart"
  132. android:src="@drawable/jm_float" />
  133. <ImageView
  134. android:id="@+id/icon_tip"
  135. android:layout_width="@dimen/jm_float_tip_size"
  136. android:layout_height="@dimen/jm_float_tip_size"
  137. android:layout_gravity="end"
  138. android:layout_marginTop="2dp"
  139. android:layout_marginRight="2dp"
  140. android:src="@drawable/jm_message_tip"
  141. android:visibility="gone" />
  142. </FrameLayout>
  143. </FrameLayout>