1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?xml version="1.0" encoding="utf-8"?>
- <FrameLayout android:visibility="invisible"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- xmlns:android="http://schemas.android.com/apk/res/android">
- <LinearLayout
- android:gravity="center"
- android:layout_gravity="bottom|center|right"
- android:orientation="vertical"
- android:id="@+id/float_hide_top"
- android:background="@drawable/jm_float_red_shape"
- android:paddingLeft="30dp"
- android:paddingTop="30dp"
- android:visibility="invisible"
- android:layout_width="@dimen/jm_float_red_shape_w_h_top"
- android:layout_height="@dimen/jm_float_red_shape_w_h_top" />
- <LinearLayout
- android:gravity="center"
- android:layout_gravity="bottom|center|right"
- android:orientation="vertical"
- android:id="@+id/float_hide"
- android:background="@drawable/jm_float_red_shape"
- android:paddingLeft="30dp"
- android:paddingTop="30dp"
- android:layout_width="@dimen/jm_float_red_shape_w_h"
- android:layout_height="@dimen/jm_float_red_shape_w_h">
- <ImageView
- android:layout_width="50dp"
- android:layout_height="50dp"
- android:src="@drawable/jm_float_hide" />
- <TextView
- android:textColor="@color/jmfont_white"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="隐藏浮窗" />
- </LinearLayout>
- </FrameLayout>
|