jm_float_red_hide.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout android:visibility="invisible"
  3. android:layout_width="fill_parent"
  4. android:layout_height="fill_parent"
  5. xmlns:android="http://schemas.android.com/apk/res/android">
  6. <LinearLayout
  7. android:gravity="center"
  8. android:layout_gravity="bottom|center|right"
  9. android:orientation="vertical"
  10. android:id="@+id/float_hide_top"
  11. android:background="@drawable/jm_float_red_shape"
  12. android:paddingLeft="30dp"
  13. android:paddingTop="30dp"
  14. android:visibility="invisible"
  15. android:layout_width="@dimen/jm_float_red_shape_w_h_top"
  16. android:layout_height="@dimen/jm_float_red_shape_w_h_top"/>
  17. <LinearLayout
  18. android:gravity="center"
  19. android:layout_gravity="bottom|center|right"
  20. android:orientation="vertical"
  21. android:id="@+id/float_hide"
  22. android:background="@drawable/jm_float_red_shape"
  23. android:paddingLeft="30dp"
  24. android:paddingTop="30dp"
  25. android:layout_width="@dimen/jm_float_red_shape_w_h"
  26. android:layout_height="@dimen/jm_float_red_shape_w_h">
  27. <ImageView
  28. android:layout_width="50dp"
  29. android:layout_height="50dp"
  30. android:src="@drawable/jm_float_hide"/>
  31. <TextView
  32. android:textColor="@color/jmfont_white"
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. android:text="隐藏浮窗"/>
  36. </LinearLayout>
  37. </FrameLayout>