Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/platform/android/java/lib/res/layout/downloading_expansion.xml
10287 views
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
android:layout_width="match_parent"
4
android:layout_height="match_parent"
5
android:orientation="vertical" >
6
7
<LinearLayout
8
android:layout_width="match_parent"
9
android:layout_height="wrap_content"
10
android:layout_weight="0"
11
android:orientation="vertical" >
12
13
<TextView
14
android:id="@+id/statusText"
15
android:layout_width="match_parent"
16
android:layout_height="wrap_content"
17
android:layout_marginBottom="10dp"
18
android:layout_marginStart="5dp"
19
android:layout_marginTop="10dp"
20
android:textStyle="bold" />
21
22
<LinearLayout
23
android:id="@+id/downloaderDashboard"
24
android:layout_width="fill_parent"
25
android:layout_height="wrap_content"
26
android:orientation="vertical" >
27
28
<RelativeLayout
29
android:layout_width="match_parent"
30
android:layout_height="0dp"
31
android:layout_weight="1" >
32
33
<TextView
34
android:id="@+id/progressAsFraction"
35
style="@android:style/TextAppearance.Small"
36
android:layout_width="wrap_content"
37
android:layout_height="wrap_content"
38
android:layout_alignParentStart="true"
39
android:layout_marginStart="5dp" />
40
41
<TextView
42
android:id="@+id/progressAsPercentage"
43
style="@android:style/TextAppearance.Small"
44
android:layout_width="wrap_content"
45
android:layout_height="wrap_content"
46
android:layout_alignEnd="@+id/progressBar" />
47
48
<ProgressBar
49
android:id="@+id/progressBar"
50
style="?android:attr/progressBarStyleHorizontal"
51
android:layout_width="match_parent"
52
android:layout_height="wrap_content"
53
android:layout_below="@+id/progressAsFraction"
54
android:layout_marginBottom="10dp"
55
android:layout_marginLeft="10dp"
56
android:layout_marginRight="10dp"
57
android:layout_marginTop="10dp" />
58
59
<TextView
60
android:id="@+id/progressAverageSpeed"
61
style="@android:style/TextAppearance.Small"
62
android:layout_width="wrap_content"
63
android:layout_height="wrap_content"
64
android:layout_alignParentStart="true"
65
android:layout_below="@+id/progressBar"
66
android:layout_marginStart="5dp" />
67
68
<TextView
69
android:id="@+id/progressTimeRemaining"
70
style="@android:style/TextAppearance.Small"
71
android:layout_width="wrap_content"
72
android:layout_height="wrap_content"
73
android:layout_alignEnd="@+id/progressBar"
74
android:layout_below="@+id/progressBar" />
75
</RelativeLayout>
76
77
<LinearLayout
78
android:id="@+id/downloadButton"
79
android:layout_width="fill_parent"
80
android:layout_height="wrap_content"
81
android:orientation="horizontal" >
82
83
<Button
84
android:id="@+id/cancelButton"
85
android:layout_width="wrap_content"
86
android:layout_height="wrap_content"
87
android:layout_gravity="center_vertical"
88
android:layout_marginBottom="10dp"
89
android:layout_marginLeft="5dp"
90
android:layout_marginRight="5dp"
91
android:layout_marginTop="10dp"
92
android:layout_weight="0"
93
android:minHeight="40dp"
94
android:minWidth="94dp"
95
android:text="@string/text_button_cancel"
96
android:visibility="gone"
97
style="?android:attr/buttonBarButtonStyle" />
98
99
<Button
100
android:id="@+id/pauseButton"
101
android:layout_width="wrap_content"
102
android:layout_height="wrap_content"
103
android:layout_gravity="center_vertical"
104
android:layout_marginBottom="10dp"
105
android:layout_marginStart="10dp"
106
android:layout_marginEnd="5dp"
107
android:layout_marginTop="10dp"
108
android:layout_weight="0"
109
android:minHeight="40dp"
110
android:minWidth="94dp"
111
android:text="@string/text_button_pause"
112
style="?android:attr/buttonBarButtonStyle" />
113
</LinearLayout>
114
</LinearLayout>
115
</LinearLayout>
116
117
<LinearLayout
118
android:id="@+id/approveCellular"
119
android:layout_width="match_parent"
120
android:layout_height="match_parent"
121
android:layout_weight="1"
122
android:orientation="vertical"
123
android:visibility="gone" >
124
125
<TextView
126
android:layout_width="match_parent"
127
android:layout_height="wrap_content"
128
android:layout_margin="10dp"
129
android:id="@+id/textPausedParagraph1"
130
android:text="@string/text_paused_cellular" />
131
132
<TextView
133
android:layout_width="match_parent"
134
android:layout_height="wrap_content"
135
android:layout_margin="10dp"
136
android:id="@+id/textPausedParagraph2"
137
android:text="@string/text_paused_cellular_2" />
138
139
<LinearLayout
140
android:id="@+id/buttonRow"
141
android:layout_width="match_parent"
142
android:layout_height="wrap_content"
143
android:orientation="horizontal" >
144
145
<Button
146
android:id="@+id/resumeOverCellular"
147
android:layout_width="wrap_content"
148
android:layout_height="wrap_content"
149
android:layout_gravity="center"
150
android:layout_margin="10dp"
151
android:text="@string/text_button_resume_cellular"
152
style="?android:attr/buttonBarButtonStyle" />
153
154
<Button
155
android:id="@+id/wifiSettingsButton"
156
android:layout_width="wrap_content"
157
android:layout_height="wrap_content"
158
android:layout_gravity="center"
159
android:layout_margin="10dp"
160
android:text="@string/text_button_wifi_settings"
161
style="?android:attr/buttonBarButtonStyle" />
162
</LinearLayout>
163
</LinearLayout>
164
165
</LinearLayout>
166
167