chenxin
2020-12-25 adb0dae8a82a7eabb4e686bc0e83c8859bf6445f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" >
 
    <RelativeLayout
        android:id="@+id/r1"
        android:layout_width="42dp"
        android:layout_height="42dp"
        android:layout_centerInParent="true" >
 
        <ImageView
            android:id="@+id/bjskres_floatbutton_out"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_centerInParent="true"
            android:contentDescription="@string/bjskres_img_desc" android:scaleType="fitCenter"
            android:src="@drawable/bjskres_floatbutton_logo_out"
            android:visibility="visible" />
 
        <ImageView
            android:id="@+id/bjskres_floatbutton_logo"
            android:layout_width="40dp"
            android:layout_height="40dp"
            android:layout_centerInParent="true"
            android:contentDescription="@string/bjskres_img_desc" android:scaleType="fitCenter"
            android:src="@drawable/bjskres_floatbutton_logo"
            android:visibility="visible" />
 
        <ImageView
            android:id="@+id/bjskres_floatbutton_logoleft"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentEnd="true"
            android:layout_alignParentRight="true"
            android:contentDescription="@string/bjskres_img_desc" android:scaleType="fitEnd"
            android:src="@drawable/bjskres_floatbutton_logoleft"
            android:visibility="gone" />
 
        <ImageView
            android:id="@+id/bjskres_floatbutton_logoright"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentStart="true"
            android:layout_alignParentLeft="true"
            android:contentDescription="@string/bjskres_img_desc" android:scaleType="fitStart"
            android:src="@drawable/bjskres_floatbutton_logoright"
            android:visibility="gone" />
    </RelativeLayout>
 
</RelativeLayout>