de nl-8 ol-8"> 195

190 196
    public void setClickedUserPublishRole(Context context, String content) {
191 197
        PreferenceManager.getInstance(context)
192 198
                .putString(KEY_CLICKED_USER_PUBLISH_ROLE, content);
@ -505,6 +511,11 @@ public class ProfileManager {
505 511
                "");
506 512
    }
507 513

514
    public String getClickedUserPublishTopic(Context context) {
515
        return PreferenceManager.getInstance(context).getString(KEY_CLICKED_USER_PUBLISH_TOPIC,
516
                "");
517
    }
518

508 519
    public String getClickedUserPublishRole(Context context) {
509 520
        return PreferenceManager.getInstance(context).getString(KEY_CLICKED_USER_PUBLISH_ROLE,
510 521
                "");

+ 9 - 10
app/src/main/res/layout/activity_chat_content.xml

@ -18,9 +18,10 @@
18 18
19 19
        <ImageView
20 20
            android:id="@+id/coverImage"
21
            android:layout_width="168dp"
22
            android:layout_height="147dp"
21
            android:layout_width="wrap_content"
22
            android:layout_height="wrap_content"
23 23
            android:contentDescription="信息图片"
24
            android:scaleType="fitXY"
24 25
            app:layout_constraintEnd_toEndOf="parent"
25 26
            app:layout_constraintStart_toStartOf="parent"
26 27
            app:layout_constraintTop_toTopOf="parent"
@ -59,11 +60,11 @@
59 60
            android:id="@+id/title"
60 61
            android:layout_width="0dp"
61 62
            android:layout_height="wrap_content"
62
            android:layout_marginLeft="10dp"
63
            android:layout_marginTop="10dp"
64
            android:layout_marginRight="10dp"
63
            android:paddingLeft="10dp"
64
            android:paddingRight="10dp"
65
            android:paddingTop="10dp"
65 66
            android:ellipsize="end"
66
            android:maxLines="2"
67
            android:maxLines="3"
67 68
            android:textColor="#222222"
68 69
            android:textSize="15sp"
69 70
            app:layout_constraintEnd_toEndOf="parent"
@ -74,6 +75,8 @@
74 75
        <android.support.constraint.ConstraintLayout
75 76
            android:layout_width="0dp"
76 77
            android:layout_height="48dp"
78
            android:paddingLeft="10dp"
79
            android:paddingRight="10dp"
77 80
            app:layout_constraintLeft_toLeftOf="parent"
78 81
            app:layout_constraintRight_toRightOf="parent"
79 82
            app:layout_constraintTop_toBottomOf="@+id/title">
@ -82,8 +85,6 @@
82 85
                android:id="@+id/authorInfo"
83 86
                android:layout_width="wrap_content"
84 87
                android:layout_height="0dp"
85
                android:paddingLeft="10dp"
86
                android:paddingRight="10dp"
87 88
                app:layout_constraintBottom_toBottomOf="parent"
88 89
                app:layout_constraintLeft_toLeftOf="parent"
89 90
                app:layout_constraintTop_toTopOf="parent">
@ -114,8 +115,6 @@
114 115
                android:id="@+id/likeInfo"
115 116
                android:layout_width="wrap_content"
116 117
                android:layout_height="0dp"
117
                android:paddingLeft="10dp"
118
                android:paddingRight="10dp"
119 118
                app:layout_constraintBottom_toBottomOf="parent"
120 119
                app:layout_constraintRight_toRightOf="parent"
121 120
                app:layout_constraintTop_toTopOf="parent">

+ 34 - 0
app/src/main/res/layout/activity_chat_footer.xml

@ -0,0 +1,34 @@
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/footerContainer"
6
    android:layout_width="match_parent"
7
    android:layout_height="wrap_content">
8
9
    <android.support.constraint.ConstraintLayout
10
        android:id="@+id/footerView"
11
        android:layout_width="match_parent"
12
        android:layout_height="20dp"
13
        app:layout_constraintBottom_toBottomOf="parent"
14
        app:layout_constraintEnd_toEndOf="parent"
15
        app:layout_constraintStart_toStartOf="parent"
16
        app:layout_constraintTop_toTopOf="parent">
17
18
        <TextView
19
            android:id="@+id/footTextView"
20
            android:layout_width="match_parent"
21
            android:layout_height="match_parent"
22
            android:gravity="center"
23
            android:paddingLeft="30dp"
24
            android:paddingRight="30dp"
25
            android:textColor="#555555"
26
            android:textSize="14sp"
27
            app:layout_constraintBottom_toBottomOf="parent"
28
            app:layout_constraintEnd_toEndOf="parent"
29
            app:layout_constraintStart_toStartOf="parent"
30
            app:layout_constraintTop_toTopOf="parent"
31
            tools:text="已经全部加载完毕" />
32
    </android.support.constraint.ConstraintLayout>
33
34
</android.support.constraint.ConstraintLayout>

+ 0 - 1
app/src/main/res/layout/activity_topic_detail.xml

@ -74,7 +74,6 @@
74 74
            android:layout_width="match_parent"
75 75
            android:layout_height="match_parent"
76 76
            android:scrollbars="vertical" />
77
78 77
    </com.andview.refreshview.XRefreshView>
79 78
80 79
    <ImageView

+ 2 - 1
zxing/build.gradle

@ -29,7 +29,8 @@ dependencies {
29 29
    })
30 30
    compile 'pub.devrel:easypermissions:0.2.0'
31 31
    compile 'com.google.code.gson:gson:2.2.4'
32
    compile 'com.github.bumptech.glide:glide:4.1.1'
32
//    compile 'com.github.bumptech.glide:glide:4.1.1'
33
    compile 'com.github.bumptech.glide:glide:4.2.0'
33 34
    compile 'com.google.zxing:core:+'
34 35
    compile 'com.google.zxing:android-core:+'
35 36
    compile 'com.blankj:utilcode:1.9.8'

cdzApp - Gogs: Go Git Service

充电桩app代码

1145873331@qq.com 2fa5ae59bf remove 7 years ago
..
libs 5b47557d6a remove 7 years ago
src 2fa5ae59bf remove 7 years ago
.DS_Store 2e200f4475 Merge branch 'master' of /Users/dxh/android_chargingpile with conflicts. 7 years ago
build.gradle 2fa5ae59bf remove 7 years ago
gradle.properties 2fa5ae59bf remove 7 years ago
lint.xml e1cf244fe0 remove Useless dependence 7 years ago
proguard-rules.pro 2fa5ae59bf remove 7 years ago