android:paddingLeft="5dp"
280
                    android:textColor="#ffffff"
281
                    android:textColorHint="#c2c2c2"
282
                    android:textSize="14sp"
283
                    app:layout_constraintBottom_toBottomOf="parent"
284
                    app:layout_constraintLeft_toRightOf="@+id/bCommentIcon"
285
                    app:layout_constraintRight_toRightOf="parent"
286
                    app:layout_constraintTop_toTopOf="parent" />
287
            </android.support.constraint.ConstraintLayout>
288
289
            <TextView
290
                android:id="@+id/bPublish"
291
                android:layout_width="wrap_content"
292
                android:layout_height="0dp"
293
                android:gravity="center_vertical"
294
                android:paddingLeft="13dp"
295
                android:paddingRight="15dp"
296
                android:text="发布"
297
                android:textColor="#7e7e7e"
298
                android:textSize="14sp"
299
                app:layout_constraintBottom_toBottomOf="parent"
300
                app:layout_constraintRight_toRightOf="parent"
301
                app:layout_constraintTop_toTopOf="parent"
302
                tools:layout_editor_absoluteX="348dp"
303
                tools:layout_editor_absoluteY="19dp" />
304
        </android.support.constraint.ConstraintLayout>
305
    </android.support.constraint.ConstraintLayout>
306
307
</android.support.constraint.ConstraintLayout>

+ 57 - 0
app/src/main/res/layout/fragment_chat_content_video.xml

@ -75,6 +75,7 @@
75 75
            app:layout_constraintLeft_toLeftOf="parent" />
76 76
77 77
        <ImageView
78
            android:visibility="gone"
78 79
            android:id="@+id/moreIcon"
79 80
            android:layout_width="wrap_content"
80 81
            android:layout_height="match_parent"
@ -379,4 +380,60 @@
379 380
380 381
    </android.support.constraint.ConstraintLayout>
381 382
383
    <RelativeLayout
384
        android:id="@+id/rl_point"
385
        android:layout_width="80dp"
386
        android:layout_height="80dp"
387
        android:layout_marginTop="100dp"
388
        android:background="@drawable/icon_point_bg"
389
        android:visibility="gone"
390
        app:layout_constraintLeft_toLeftOf="parent"
391
        app:layout_constraintRight_toRightOf="parent"
392
        app:layout_constraintTop_toTopOf="parent">
393
394
        <LinearLayout
395
            android:layout_width="wrap_content"
396
            android:layout_height="wrap_content"
397
            android:layout_centerInParent="true"
398
            android:orientation="vertical">
399
400
            <LinearLayout
401
                android:layout_width="wrap_content"
402
                android:layout_height="wrap_content"
403
                android:layout_gravity="center_horizontal">
404
405
                <TextView
406
                    android:layout_width="wrap_content"
407
                    android:layout_height="wrap_content"
408
                    android:text="+"
409
                    android:textColor="@color/white"
410
                    android:textSize="16sp" />
411
412
                <TextView
413
                    android:id="@+id/tv_point"
414
                    android:layout_width="wrap_content"
415
                    android:layout_height="wrap_content"
416
                    android:layout_marginLeft="2dp"
417
                    android:text="20"
418
                    android:textColor="@color/white"
419
                    android:textSize="19sp" />
420
421
422
            </LinearLayout>
423
424
            <TextView
425
                android:layout_width="wrap_content"
426
                android:layout_height="wrap_content"
427
                android:layout_gravity="center_horizontal"
428
                android:layout_marginTop="2dp"
429
                android:text="充电币"
430
                android:textColor="@color/white"
431
                android:textSize="13sp" />
432
433
434
        </LinearLayout>
435
436
437
    </RelativeLayout>
438
382 439
</android.support.constraint.ConstraintLayout>

+ 119 - 0
app/src/main/res/layout/list_item_reply.xml

@ -0,0 +1,119 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    xmlns:app="http://schemas.android.com/apk/res-auto"
4
    xmlns:tools="http://schemas.android.com/tools"
5
    android:id="@+id/listItemView"
6
    android:layout_width="match_parent"
7
    android:layout_height="wrap_content"
8
    tools:background="#424242">
9
10
    <!-- 用户信息及点赞 -->
11
    <android.support.constraint.ConstraintLayout
12
        android:id="@+id/topView"
13
        android:layout_width="match_parent"
14
        android:layout_height="64dp"
15
        android:paddingTop="10dp"
16
        app:layout_constraintTop_toTopOf="parent">
17
18
        <ImageView
19
            android:id="@+id/headImage"
20
            android:layout_width="20dp"
21
            android:layout_height="20dp"
22
            android:layout_marginLeft="15dp"
23
            app:layout_constraintBottom_toBottomOf="parent"
24
            app:layout_constraintLeft_toLeftOf="parent"
25
            app:layout_constraintTop_toTopOf="parent"
26
            tools:srcCompat="@tools:sample/avatars[8]" />
27
28
        <TextView
29
            android:id="@+id/nickName"
30
            android:layout_width="wrap_content"
31
            android:layout_height="wrap_content"
32
            android:layout_marginLeft="5dp"
33
            android:paddingTop="10dp"
34
            android:textColor="#ffffff"
35
            android:textSize="12sp"
36
            app:layout_constraintLeft_toRightOf="@+id/headImage"
37
            app:layout_constraintTop_toTopOf="parent"
38
            tools:text="小电" />
39
40
        <TextView
41
            android:id="@+id/addDate"
42
            android:layout_width="wrap_content"
43
            android:layout_height="wrap_content"
44
            android:layout_marginLeft="5dp"
45
            android:layout_marginBottom="10dp"
46
            android:textColor="#888888"
47
            android:textSize="12sp"
48
            app:layout_constraintBottom_toBottomOf="parent"
49
            app:layout_constraintLeft_toRightOf="@+id/headImage"
50
            tools:text="刚刚" />
51
52
        <android.support.constraint.ConstraintLayout
53
            android:id="@+id/likeView"
54
            android:layout_width="wrap_content"
55
            android:layout_height="match_parent"
56
            android:paddingLeft="17dp"
57
            android:paddingRight="17dp"
58
            app:layout_constraintRight_toRightOf="parent"
59
            tools:background="#ff0000">
60
61
            <ImageView
62
                android:id="@+id/likeIcon"
63
                android:layout_width="18dp"
64
                android:layout_height="18dp"
65
                android:src="@drawable/like_small_icon"
66
                app:layout_constraintBottom_toBottomOf="parent"
67
                app:layout_constraintLeft_toLeftOf="parent"
68
                app:layout_constraintTop_toTopOf="parent" />
69
70
            <TextView
71
                android:id="@+id/likeLabel"
72
                android:layout_width="wrap_content"
73
                android:layout_height="wrap_content"
74
                android:paddingLeft="4dp"
75
                android:textColor="#888888"
76
                android:textSize="12sp"
77
                app:layout_constraintBottom_toBottomOf="parent"
78
                app:layout_constraintLeft_toRightOf="@+id/likeIcon"
79
                app:layout_constraintRight_toRightOf="parent"
80
                app:layout_constraintTop_toTopOf="parent"
81
                tools:text="123" />
82
83
        </android.support.constraint.ConstraintLayout>
84
    </android.support.constraint.ConstraintLayout>
85
86
    <TextView
87
        android:id="@+id/content"
88
        android:layout_width="match_parent"
89
        android:layout_height="wrap_content"
90
        android:layout_marginLeft="39dp"
91
        android:layout_marginRight="37dp"
92
        android:textColor="#ffffff"
93
        android:textSize="14sp"
94
        app:layout_constraintTop_toBottomOf="@+id/topView"
95
        tools:text="充电桩挺多的,但是油车也多,充电的车也多。园区进门就收费,还好去了两次都充上了。"></TextView>
96
97
    <TextView
98
        android:id="@+id/deleteComment"
99
        android:layout_width="wrap_content"
100
        android:layout_height="42dp"
101
        android:gravity="center"
102
        android:paddingLeft="29dp"
103
        android:paddingRight="10dp"
104
        android:text="删除"
105
        android:textColor="#c2c2c2"
106
        android:textSize="12sp"
107
        app:layout_constraintLeft_toLeftOf="parent"
108
        app:layout_constraintTop_toBottomOf="@+id/content"
109
        tools:background="#790f59" />
110
111
    <View
112
        android:layout_width="match_parent"
113
        android:layout_height="1dp"
114
        android:layout_marginLeft="16dp"
115
        android:layout_marginTop="10dp"
116
        android:background="#505050"
117
        app:layout_constraintBottom_toBottomOf="parent"
118
        app:layout_constraintTop_toBottomOf="@+id/deleteComment" />
119
</android.support.constraint.ConstraintLayout>

cdzApp - Gogs: Go Git Service

充电桩app代码

huyuguo 319397b60f 配置信息优化 6 lat temu
..
src e1cf244fe0 remove Useless dependence 7 lat temu
.gitignore e1cf244fe0 remove Useless dependence 7 lat temu
build.gradle 319397b60f 配置信息优化 6 lat temu
proguard-rules.pro e1cf244fe0 remove Useless dependence 7 lat temu