mch_floating_menu.xml
2.7 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="45dp"
android:background="#00000000"
android:orientation="horizontal">
<RelativeLayout
android:id="@+id/rl_floating"
android:layout_width="43dp"
android:layout_height="43dp"
android:scaleType="centerCrop"
android:layout_marginTop="1dp"
android:layout_marginBottom="1dp">
<com.mchsdk.paysdk.view.round.CircleImageView
android:id="@+id/txt_mch_channel_name"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/mch_float_ico" />
<ImageView
android:id="@+id/layout_ycbg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:background="@drawable/mch_floating_delay_bg"
android:visibility="gone"
android:alpha="0.3"
/>
<RelativeLayout
android:id="@+id/layout_yc"
android:layout_width="wrap_content"
android:layout_centerInParent="true"
android:visibility="gone"
android:layout_height="wrap_content">
<TextView
android:id="@+id/tv_delay"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="--/--"
android:layout_centerHorizontal="true"
android:textSize="13dp"
android:textColor="#ffffff"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="ms"
android:textSize="8dp"
android:layout_marginTop="13dp"
android:layout_centerHorizontal="true"
android:textColor="#ffffff"
/>
</RelativeLayout>
<TextView
android:id="@+id/tv_weidu"
android:layout_width="10dp"
android:layout_height="10dp"
android:layout_marginRight="2dp"
android:visibility="gone"
android:layout_alignParentRight="true"
android:background="@drawable/mch_icon_weidu"
/>
</RelativeLayout>
</FrameLayout>