e5cf33b70b65076eede5L204">204
                android:textSize="20dp"
205
                tools:text="1.69" />
206
207
            <TextView
208
                android:layout_width="wrap_content"
209
                android:layout_height="wrap_content"
210
                android:text="元/度"
211
                android:textColor="#555557"
212
                android:textSize="12sp" />
213
214
        </LinearLayout>
215 212
    </LinearLayout>
216 213
217
    <!-- 支付方式 -->
218
    <TextView
219
        android:id="@+id/payment_method"
214
    <LinearLayout
220 215
        android:layout_width="match_parent"
221 216
        android:layout_height="wrap_content"
222 217
        android:layout_marginLeft="15dp"
223
        android:layout_marginTop="20dp"
224 218
        android:layout_marginRight="15dp"
225
        android:textColor="#222222"
226
        android:textSize="14sp"
227
        tools:text="可使用本APP扫码支付" />
219
        android:orientation="horizontal">
220
        <!-- 支付方式 -->
221
        <TextView
222
            android:id="@+id/payment_method"
223
            android:layout_width="0dp"
224
            android:layout_height="wrap_content"
225
            android:layout_marginTop="20dp"
226
            android:layout_weight="1"
227
            android:ellipsize="end"
228
            android:lines="1"
229
            android:paddingRight="5dp"
230
            android:textColor="#222222"
231
            android:textSize="14sp"
232
            tools:text="可使用本APP扫码支付" />
233
234
        <Button
235
            android:id="@+id/recommend_nav"
236
            android:layout_width="50dp"
237
            android:layout_height="24dp"
238
            android:layout_marginTop="20dp"
239
            android:background="@drawable/recommend_btn_normal"
240
            android:text="导航"
241
            android:textColor="#83d287"
242
            android:textSize="13sp" />
243
    </LinearLayout>
228 244
229 245
    <View
230 246
        android:layout_width="match_parent"
@ -237,48 +253,58 @@
237 253
        android:layout_width="match_parent"
238 254
        android:layout_height="48dp"
239 255
        android:gravity="center_vertical">
240
241 256
        <LinearLayout
257
242 258
            android:layout_width="0dp"
243
            android:layout_height="match_parent"
259
            android:layout_height="wrap_content"
260
            android:layout_centerInParent="true"
244 261
            android:layout_weight="1"
245
            android:gravity="centerhorizontal">
246
247
            <TextView
248
                android:layout_width="wrap_content"
249
                android:layout_height="wrap_content"
250
                android:text="快充"
251
                android:textColor="#b2b2b2"
252
                android:textSize="12sp" />
262
            android:gravity="center_horizontalhorizontal"
263
            android:orientation="horizontal">
253 264
254
            <TextView
255
                android:id="@+id/fast_num"
265
            <ImageView
256 266
                android:layout_width="wrap_content"
257 267
                android:layout_height="wrap_content"
258
                android:layout_marginLeft="10dp"
259
                android:textColor="#555556"
260
                android:textSize="20sp"
261
                tools:text="5" />
268
                android:layout_gravity="center_vertical"
269
                android:paddingRight="10dp"
270
                android:src="@drawable/fast_icon" />
262 271
263 272
            <TextView
264
                android:id="@+id/fast_free"
273
                android:id="@+id/window_tv_fast_free_label"
265 274
                android:layout_width="wrap_content"
266 275
                android:layout_height="wrap_content"
267
                android:layout_marginLeft="34dp"
268
                android:text="闲"
269
                android:textColor="#b2b2b2"
270
                android:textSize="12sp" />
276
                android:layout_gravity="center_vertical"
277
                android:text="闲"
278
                android:textColor="@color/ui_62"
279
                android:textSize="14sp" />
271 280
272
            <TextView
273
                android:id="@+id/fast_free_num"
281
            <LinearLayout
274 282
                android:layout_width="wrap_content"
275 283
                android:layout_height="wrap_content"
276
                android:layout_marginLeft="10dp"
277
                android:textColor="#555556"
278
                android:textSize="20sp"
279
                tools:text="5" />
280
281
284
                android:layout_gravity="center_vertical"
285
                android:orientation="horizontal">
286
287
                <TextView
288
                    android:id="@+id/window_tv_fast_free_num"
289
                    android:layout_width="wrap_content"
290
                    android:layout_height="wrap_content"
291
                    android:layout_gravity="bottom"
292
                    android:paddingLeft="5dp"
293
                    android:textColor="@color/ui_62"
294
                    android:textSize="18sp"
295
                    android:textStyle="bold"
296
                    tools:text="13" />
297
298
                <TextView
299
                    android:id="@+id/window_tv_fast_total_num"
300
                    android:layout_width="wrap_content"
301
                    android:layout_height="wrap_content"
302
                    android:layout_gravity="bottom"
303
                    android:paddingLeft="1dp"
304
                    android:textColor="@color/ui_68"
305
                    android:textSize="12sp"
306
                    tools:text="/15" />
307
            </LinearLayout>
282 308
        </LinearLayout>
283 309
284 310
        <View
@ -288,43 +314,55 @@
288 314
289 315
        <LinearLayout
290 316
            android:layout_width="0dp"
291
            android:layout_height="match_parent"
317
            android:layout_height="wrap_content"
318
            android:layout_centerInParent="true"
292 319
            android:layout_weight="1"
293
            android:gravity="centerhorizontal">
320
            android:gravity="center_horizontalhorizontal"
321
            android:orientation="horizontal">
294 322
295
            <TextView
323
            <ImageView
296 324
                android:layout_width="wrap_content"
297 325
                android:layout_height="wrap_content"
298
                android:text="慢充"
299
                android:textColor="#b2b2b2"
300
                android:textSize="12sp" />
326
                android:layout_gravity="center_vertical"
327
                android:paddingRight="10dp"
328
                android:src="@drawable/slow_icon" />
301 329
302 330
            <TextView
303
                android:id="@+id/slow_num"
331
                android:id="@+id/window_tv_slow_free_label"
304 332
                android:layout_width="wrap_content"
305 333
                android:layout_height="wrap_content"
306
                android:layout_marginLeft="10dp"
307
                android:textColor="#555556"
308
                android:textSize="20sp"
309
                tools:text="5" />
334
                android:layout_gravity="center_vertical"
335
                android:text="闲"
336
                android:textColor="@color/ui_62"
337
                android:textSize="14sp" />
310 338
311
            <TextView
312
                android:id="@+id/slow_free"
313
                android:layout_width="wrap_content"
314
                android:layout_height="wrap_content"
315
                android:layout_marginLeft="34dp"
316
                android:text="空闲"
317
                android:textColor="#b2b2b2"
318
                android:textSize="12sp" />
319
320
            <TextView
321
                android:id="@+id/slow_free_num"
339
            <LinearLayout
322 340
                android:layout_width="wrap_content"
323 341
                android:layout_height="wrap_content"
324
                android:layout_marginLeft="10dp"
325
                android:textColor="#555556"
326
                android:textSize="20sp"
327
                tools:text="5" />
342
                android:layout_gravity="center_vertical"
343
                android:orientation="horizontal">
344
345
                <TextView
346
                    android:id="@+id/window_tv_slow_free_num"
347
                    android:layout_width="wrap_content"
348
                    android:layout_height="wrap_content"
349
                    android:layout_gravity="bottom"
350
                    android:paddingLeft="5dp"
351
                    android:textColor="@color/ui_62"
352
                    android:textSize="18sp"
353
                    android:textStyle="bold"
354
                    tools:text="13" />
355
356
                <TextView
357
                    android:id="@+id/window_tv_slow_total_num"
358
                    android:layout_width="wrap_content"
359
                    android:layout_height="wrap_content"
360
                    android:layout_gravity="bottom"
361
                    android:paddingLeft="1dp"
362
                    android:textColor="@color/ui_68"
363
                    android:textSize="12sp"
364
                    tools:text="/15" />
365
            </LinearLayout>
328 366
        </LinearLayout>
329 367
    </LinearLayout>
330 368

+ 2 - 2
app/src/main/res/values/strings.xml

@ -205,6 +205,6 @@
205 205
    <string name="refresh_load_succeed">Loading succeeded</string>
206 206
    <string name="refresh_load_succeed_nomore">That\'s All!</string>
207 207
    <string name="refresh_load_fail">Loading failed</string>
208
    <string name="personal_shar_info_content">快来分享吧\n
209
小主大家都很期待你的精彩内容哦</string>
208
    <string name="personal_shar_info_content">快来分享吧\n小主大家都很期待你的精彩内容哦</string>
209
    <string name="query_all_addresses"><u>查看全部目的地</u></string>
210 210
</resources>

cdzApp - Gogs: Go Git Service

充电桩app代码

1145873331@qq.com e1cf244fe0 remove Useless dependence 7 years ago
..
gradle 06bd894653 init 7 years ago
src e1cf244fe0 remove Useless dependence 7 years ago
.gitignore e1cf244fe0 remove Useless dependence 7 years ago
build.gradle e1cf244fe0 remove Useless dependence 7 years ago
gradlew 06bd894653 init 7 years ago
gradlew.bat 06bd894653 init 7 years ago
proguard-rules.pro e1cf244fe0 remove Useless dependence 7 years ago