-
Notifications
You must be signed in to change notification settings - Fork 1
/
fragment_sidebar.xml
106 lines (94 loc) · 4.57 KB
/
fragment_sidebar.xml
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ui.SidebarFragment">
<!-- TODO: Update blank fragment layout -->
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/textView3"
android:layout_width="0dp"
android:layout_height="0dp"
android:text="电量"
android:textSize="40dp"
app:autoSizeTextType="uniform"
app:layout_constraintBottom_toTopOf="@+id/guideline44"
app:layout_constraintEnd_toEndOf="@+id/currentTime_Sidebar"
app:layout_constraintStart_toStartOf="@+id/currentTime_Sidebar"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.024" />
<TextView
android:id="@+id/currentTime_Sidebar"
android:layout_width="0dp"
android:layout_height="0dp"
app:autoSizeTextType="uniform"
app:layout_constraintBottom_toTopOf="@+id/guideline32"
app:layout_constraintEnd_toEndOf="@+id/robotImage"
app:layout_constraintHorizontal_bias="0.483"
app:layout_constraintStart_toStartOf="@+id/robotImage"
app:layout_constraintTop_toTopOf="@+id/guideline44"
app:layout_constraintVertical_bias="0.043" />
<Button
android:id="@+id/robotImage"
android:layout_width="0dp"
android:layout_height="0dp"
android:background="@drawable/roundedbutton"
android:text="机器人形象"
android:textSize="50dp"
app:layout_constraintBottom_toTopOf="@+id/guideline33"
app:layout_constraintEnd_toEndOf="@+id/textView7"
app:layout_constraintStart_toStartOf="@+id/textView7"
app:layout_constraintTop_toTopOf="@+id/guideline32"
app:layout_constraintVertical_bias="0.08" />
<TextView
android:id="@+id/textView7"
android:layout_width="0dp"
android:layout_height="0dp"
android:text="对话框"
android:textSize="50dp"
app:autoSizeTextType="uniform"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/guideline30"
app:layout_constraintStart_toStartOf="@+id/guideline29"
app:layout_constraintTop_toBottomOf="@+id/robotImage" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline29"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_begin="212dp"
app:layout_constraintGuide_percent="0.25" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline30"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_begin="950dp"
app:layout_constraintGuide_percent="0.75" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline32"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_begin="314dp"
app:layout_constraintGuide_percent="0.17" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline33"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_begin="899dp"
app:layout_constraintGuide_percent="0.45" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline44"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_begin="139dp"
app:layout_constraintGuide_percent=".08" />
</androidx.constraintlayout.widget.ConstraintLayout>
</FrameLayout>