zk_widget_float_view.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?xml version="1.0" encoding="utf-8"?><!--
  2. ~ Copyright (C) 2015 pengjianbo(pengjianbosoft@gmail.com), Inc.
  3. ~
  4. ~ Licensed under the Apache License, Version 2.0 (the "License");
  5. ~ you may not use this file except in compliance with the License.
  6. ~ You may obtain a copy of the License at
  7. ~
  8. ~ http://www.apache.org/licenses/LICENSE-2.0
  9. ~
  10. ~ Unless required by applicable law or agreed to in writing, software
  11. ~ distributed under the License is distributed on an "AS IS" BASIS,
  12. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. ~ See the License for the specific language governing permissions and
  14. ~ limitations under the License.
  15. -->
  16. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  17. android:layout_width="wrap_content"
  18. android:layout_height="wrap_content">
  19. <LinearLayout
  20. android:id="@+id/ll_menu"
  21. android:layout_width="wrap_content"
  22. android:layout_height="45dp"
  23. android:background="@drawable/zk_menu_bg"
  24. android:gravity="center"
  25. android:alpha="0.7"
  26. android:orientation="horizontal"
  27. android:visibility="gone">
  28. <TextView
  29. android:id="@+id/tv_account"
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:drawableTop="@drawable/zk_menu_account"
  33. android:padding="3dp"
  34. android:text="账号"
  35. android:textColor="#FFFFFF"
  36. android:textSize="11sp" />
  37. <TextView
  38. android:id="@+id/tv_feedback"
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:drawableTop="@drawable/zk_menu_fb"
  42. android:padding="3dp"
  43. android:text="客服"
  44. android:textColor="#FFFFFF"
  45. android:visibility="gone"
  46. android:textSize="11sp" />
  47. </LinearLayout>
  48. <FrameLayout
  49. android:id="@+id/pj_float_view"
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content">
  52. <ImageView
  53. android:id="@+id/pj_float_view_icon_imageView"
  54. android:layout_width="wrap_content"
  55. android:layout_height="wrap_content"
  56. android:layout_gravity="center" />
  57. <ImageView
  58. android:id="@+id/pj_float_view_icon_notify"
  59. android:layout_width="wrap_content"
  60. android:layout_height="wrap_content"
  61. android:src="@drawable/zk_anim_background" />
  62. </FrameLayout>
  63. </FrameLayout>