jm_float_view_red.xml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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="match_parent"
  9. android:layout_height="56dp"
  10. android:background="@drawable/jmfloat_bg_red"
  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_red"/>
  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/jmfont_reds"
  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. <ImageView
  48. android:id="@+id/tv_gift_line"
  49. android:layout_width="2dp"
  50. android:layout_height="35dp"
  51. android:src="@drawable/jm_interval_red"/>
  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_env_red"/>
  66. <TextView
  67. android:layout_width="wrap_content"
  68. android:layout_height="wrap_content"
  69. android:text="@string/float_red_envelopes"
  70. android:textColor="@color/jmfont_reds"
  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. <ImageView
  83. android:id="@+id/tv_kefu_line"
  84. android:layout_width="2dp"
  85. android:layout_height="35dp"
  86. android:src="@drawable/jm_interval_red"/>
  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_red"/>
  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/jmfont_reds"
  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. android:visibility="gone"/>
  117. </FrameLayout>
  118. </LinearLayout>
  119. <FrameLayout
  120. android:id="@+id/float_view"
  121. android:layout_width="56dp"
  122. android:layout_height="56dp"
  123. android:padding="2dp"
  124. tools:visibility="gone">
  125. <ImageView
  126. android:id="@+id/float_view_icon_imageView"
  127. android:layout_width="match_parent"
  128. android:layout_height="45dp"
  129. android:layout_gravity="start|center_vertical"
  130. android:scaleType="fitStart"/>
  131. <ImageView
  132. android:id="@+id/icon_tip"
  133. android:layout_width="@dimen/jm_float_tip_size"
  134. android:layout_height="@dimen/jm_float_tip_size"
  135. android:layout_gravity="end"
  136. android:layout_marginTop="2dp"
  137. android:layout_marginRight="2dp"
  138. android:src="@drawable/jm_message_tip"
  139. android:visibility="gone"/>
  140. </FrameLayout>
  141. </FrameLayout>