64 65
import com.electric.chargingpile.view.RoundImageView;
65 66
import com.electric.chargingpile.view.ScrollViewListener;
@ -89,7 +90,6 @@ import java.net.URL;
89 90
import java.net.URLEncoder;
90 91
import java.util.List;
91 92
92
import cn.jpush.android.api.JPushInterface;
93 93
import okhttp3.Call;
94 94
import pub.devrel.easypermissions.AfterPermissionGranted;
95 95
import pub.devrel.easypermissions.AppSettingsDialog;
@ -223,12 +223,51 @@ public class UserCenterActivity extends Activity implements View.OnClickListener
223 223
        if (MainApplication.isLogin()) {
224 224
            getPingLun();
225 225
        }
226
        showCarDialog();
226 227
227 228
        // ATTENTION: This was auto-generated to implement the App Indexing API.
228 229
        // See https://g.co/AppIndexing/AndroidStudio for more information.
229 230
        client = new GoogleApiClient.Builder(this).addApi(AppIndex.API).build();
230 231
    }
231 232
233
    private void showCarDialog() {
234
        userIcon.postDelayed(() -> {
235
            if (isDestroyed() ||isFinishing()) {
236
                return;
237
            }
238
            int count=0;
239
            int max = ProfileManager.getInstance().getUserCenterMaxCount(UserCenterActivity.this);
240
241
            if (MainApplication.isLogin()) {
242
                if (MainApplication.userCar.equals("")){
243
                    count=ProfileManager.getInstance().getUserCenterCount(getApplicationContext()) + 1;
244
                    int temp =count >= max  ? 0 :count;
245
                    ProfileManager.getInstance().setUserCenterCount(getApplicationContext(), temp);
246
                }else{
247
                    ProfileManager.getInstance().setUserCenterCount(getApplicationContext(), 0);
248
                    ProfileManager.getInstance().setUserCenterMaxCount(getApplicationContext(), 3);
249
                }
250
            }
251
252
            if (count >= max){
253
                new NotRegisterDialog(UserCenterActivity.this)
254
                        .builder()
255
                        .setGoIntentImg(R.drawable.go_receive)
256
                        .setlogoDialogImg(R.drawable.ic_red_envelope)
257
                        .setContentImg(R.drawable.ic_50_coupon)
258
                        .setGoRegister(v->{
259
                            Intent intent = new Intent(getApplicationContext(), CarOwnerCertificateActivity.class);
260
                            startActivity(intent);
261
                        })
262
                        .setCancle(v->{
263
                            ProfileManager.getInstance().setUserCenterMaxCount(getApplicationContext(),10);
264
265
                        }).show();
266
            }
267
        },500);
268
269
    }
270
232 271
    Handler hand = new Handler() {
233 272
        public void handleMessage(Message msg) {
234 273
            switch (msg.what) {

+ 4 - 0
app/src/main/java/com/electric/chargingpile/activity/UserCenterMoreActivity.java

@ -424,6 +424,10 @@ public class UserCenterMoreActivity extends Activity implements View.OnClickList
424 424
        //保存用户密码
425 425
        MainApplication.userPassword = "";
426 426
427
        //保存用户意向车型
428
        MainApplication.userCarIntentMode = "";
429
        ProfileManager.getInstance().setCarIntentModel(getApplicationContext(), "");
430
427 431
        ProfileManager.getInstance().setKeyUserpassword(getApplicationContext(), "");
428 432
        if (isPermissionOK()) {
429 433
            if (ImageTools.findPhotoFromSDCard(MainApplication.storePath, "user_icon")) {

+ 16 - 0
app/src/main/java/com/electric/chargingpile/activity/UserInfoActivity.java

@ -54,6 +54,7 @@ import com.electric.chargingpile.data.CarOwnerCertificateBean;
54 54
import com.electric.chargingpile.data.Cars;
55 55
import com.electric.chargingpile.data.Province;
56 56
import com.electric.chargingpile.entity.CarSeriesEntity;
57
import com.electric.chargingpile.manager.PreferenceManager;
57 58
import com.electric.chargingpile.manager.ProfileManager;
58 59
import com.electric.chargingpile.util.BarColorUtil;
59 60
import com.electric.chargingpile.util.DES3;
@ -148,6 +149,8 @@ public class UserInfoActivity extends Activity implements View.OnClickListener,
148 149
    private TextView go_title;
149 150
    private TextView go_desc;
150 151
    private ImageView go_cursor;
152
    private LinearLayout carIntentModel;
153
    private TextView carModel;
151 154
152 155
    @Override
153 156
    protected void onCreate(Bundle savedInstanceState) {
@ -200,6 +203,7 @@ public class UserInfoActivity extends Activity implements View.OnClickListener,
200 203
201 204
202 205
        onclick = (TextView) findViewById(R.id.onclick);
206
        carModel = (TextView) findViewById(R.id.carModel);
203 207
        onclick.setOnClickListener(this);
204 208
205 209
        back = (ImageView) findViewById(R.id.iv_back);
@ -242,6 +246,10 @@ public class UserInfoActivity extends Activity implements View.OnClickListener,
242 246
243 247
        go_certificate = findViewById(R.id.go_certificate);
244 248
        go_certificate.setOnClickListener(this);
249
250
        carIntentModel = findViewById(R.id.carIntentModel);
251
        carIntentModel.setOnClickListener(this);
252
245 253
        go_title = findViewById(R.id.go_title);
246 254
        go_desc = findViewById(R.id.go_desc);
247 255
        go_cursor = findViewById(R.id.go_cursor);
@ -407,6 +415,9 @@ public class UserInfoActivity extends Activity implements View.OnClickListener,
407 415
                    startActivity(new Intent(getApplication(), CarOwnerCertificateActivity.class));
408 416
                }
409 417
                break;
418
            case R.id.carIntentModel:
419
                CarBrandActivity.actionStart(this,"1");
420
                break;
410 421
        }
411 422
    }
412 423
@ -1042,6 +1053,11 @@ public class UserInfoActivity extends Activity implements View.OnClickListener,
1042 1053
        super.onResume();
1043 1054
        MobclickAgent.onResume(this);
1044 1055
        getCarOwnerCertificateList(false);
1056
        String carIntentModel = ProfileManager.getInstance().getCarIntentModel(this);
1057
1058
        if (!TextUtils.isEmpty(carIntentModel)){
1059
            carModel.setText(carIntentModel);
1060
        }
1045 1061
    }
1046 1062
1047 1063
    @Override

+ 14 - 7
app/src/main/java/com/electric/chargingpile/application/MainApplication.java

@ -56,6 +56,7 @@ public class MainApplication extends MultiDexApplication {
56 56
    public static String userId = "";
57 57
    public static String userCar = "";
58 58
    public static String userIcon = "";
59
    public static String userCarIntentMode="";
59 60
    public static LatLng center = null; // 用户位置
60 61
    public static String userNickname = "";
61 62
    public static String mapStatus = "";
@ -110,6 +111,7 @@ public class MainApplication extends MultiDexApplication {
110 111
    public static String search_address = "";
111 112
    public static boolean isMap = true;
112 113
    public static int count;
114
    public static int carCount;
113 115
    public static int round;
114 116
    public static int msgOne;
115 117
    public static String msgTime;
@ -178,7 +180,7 @@ public class MainApplication extends MultiDexApplication {
178 180
        msgOne = ProfileManager.getInstance().getMsgOne(getApplicationContext());
179 181
        msgTime = ProfileManager.getInstance().getSystemMsgTime(getApplicationContext());
180 182
        firstOpenTime = ProfileManager.getInstance().getFirstOpenTime(getApplicationContext());
181

183
        userCarIntentMode = ProfileManager.getInstance().getCarIntentModel(getApplicationContext());
182 184
        loginRemind();
183 185
        setFestival();
184 186
    }
@ -236,13 +238,18 @@ public class MainApplication extends MultiDexApplication {
236 238
            ProfileManager.getInstance().setCount(getApplicationContext(), i);
237 239
        }else{
238 240
            ProfileManager.getInstance().setCount(getApplicationContext(), 0);
239

240
/*
241
            if (userCar==null || userCar.equals("")){
242
                ProfileManager.getInstance().setCount(getApplicationContext(), 0);
243

241
            ProfileManager.getInstance().setMaxCount(getApplicationContext(), 4);
242

243
            if (userCar.equals("")){
244
                int max = ProfileManager.getInstance().getMaxCarModelCount(getApplicationContext());
245
                carCount=ProfileManager.getInstance().getCarModelCount(getApplicationContext()) + 1;
246
                Log.e("carCount ***-", carCount + "");
247
                int count =carCount >= max  ? 0 :carCount;
248
                ProfileManager.getInstance().setCarModelCount(getApplicationContext(), count);
249
            }else{
250
                ProfileManager.getInstance().setCarModelCount(getApplicationContext(), 0);
251
                ProfileManager.getInstance().setMaxCarModelCount(getApplicationContext(), 4);
244 252
            }
245
*/
246 253

247 254
        }
248 255
    }

+ 46 - 4
app/src/main/java/com/electric/chargingpile/manager/ProfileManager.java

@ -1,10 +1,6 @@
1 1
package com.electric.chargingpile.manager;
2 2

3 3
import android.content.Context;
4
import android.util.Log;
5

6
import com.electric.chargingpile.application.MainApplication;
7
import com.electric.chargingpile.util.PhoneUtils;
8 4

9 5
public class ProfileManager {
10 6

@ -74,6 +70,12 @@ public class ProfileManager {
74 70
    private static final String KEY_DEVICE_ID = "key_device_id";
75 71
    private static final String KEY_PUSH_ID = "key_push_id";
76 72
    private static final String KEY_MAX_COUNT = "key_max_count";
73
    private static final String KEY_CAR_INTENT_MODEL = "key_car_intent_model";
74
    private static final String KEY_CAR_MODEL_COUNT = "key_car_model_count";
75
    private static final String KEY_MAX_CAR_MODEL_COUNT = "key_max_car_model_count";
76

77
    private static final String KEY_USER_CENTER_COUNT = "key_user_center_count";
78
    private static final String KEY_USER_CENTER_MAX_COUNT = "key_user_center_max_count";
77 79

78 80
    private static ProfileManager instance;
79 81
    private String deviceId;
@ -690,5 +692,45 @@ public class ProfileManager {
690 692
        return PreferenceManager.getInstance(context).getInt(KEY_MAX_COUNT, 4);
691 693
    }
692 694

695
    public void setCarIntentModel(Context context, String id) {
696
        PreferenceManager.getInstance(context).putString(KEY_CAR_INTENT_MODEL, id);
697
    }
698

699
    public String getCarIntentModel(Context context) {
700
        return PreferenceManager.getInstance(context).getString(KEY_CAR_INTENT_MODEL,"");
701
    }
702

703
    public void setCarModelCount(Context context, int id) {
704
        PreferenceManager.getInstance(context).putInt(KEY_CAR_MODEL_COUNT, id);
705
    }
706

707
    public int getCarModelCount(Context context) {
708
        return PreferenceManager.getInstance(context).getInt(KEY_CAR_MODEL_COUNT,0);
709
    }
710

711
    public void setMaxCarModelCount(Context context, int id) {
712
        PreferenceManager.getInstance(context).putInt(KEY_MAX_CAR_MODEL_COUNT, id);
713
    }
714

715
    public int getMaxCarModelCount(Context context) {
716
        return PreferenceManager.getInstance(context).getInt(KEY_MAX_CAR_MODEL_COUNT,4);
717
    }
718

719
    public void setUserCenterCount(Context context, int id) {
720
        PreferenceManager.getInstance(context).putInt(KEY_USER_CENTER_COUNT, id);
721
    }
722

723
    public int getUserCenterCount(Context context) {
724
        return PreferenceManager.getInstance(context).getInt(KEY_USER_CENTER_COUNT,0);
725
    }
726

727
    public void setUserCenterMaxCount(Context context, int id) {
728
        PreferenceManager.getInstance(context).putInt(KEY_USER_CENTER_MAX_COUNT, id);
729
    }
730

731
    public int getUserCenterMaxCount(Context context) {
732
        return PreferenceManager.getInstance(context).getInt(KEY_USER_CENTER_MAX_COUNT,3);
733
    }
734

693 735

694 736
}

+ 7 - 1
app/src/main/java/com/electric/chargingpile/view/NotRegisterDialog.java

@ -25,6 +25,7 @@ public class NotRegisterDialog  {
25 25
26 26
    private ImageView goIntent,neglect,close,logoDialog;
27 27
    private TextView content;
28
    private ImageView contentImg;
28 29
29 30
30 31
    public NotRegisterDialog(Context context) {
@ -45,7 +46,8 @@ public class NotRegisterDialog  {
45 46
        neglect = view.findViewById(R.id.neglect);
46 47
        close   = view.findViewById(R.id.close);
47 48
        content = view.findViewById(R.id.content);
48
         logoDialog   = view.findViewById(R.id.logoDialog);
49
        logoDialog = view.findViewById(R.id.logoDialog);
50
        contentImg = view.findViewById(R.id.contentImg);
49 51
50 52
51 53
        // 定义Dialog布局和参数
@ -74,6 +76,10 @@ public class NotRegisterDialog  {
74 76
        logoDialog.setImageResource(str);
75 77
        return this;
76 78
    }
79
    public NotRegisterDialog setContentImg(@DrawableRes int str){
80
        contentImg.setImageResource(str);
81
        return this;
82
    }
77 83
78 84
79 85

二進制
app/src/main/res/drawable-xxhdpi/bg_car_intent_model.png


二進制
app/src/main/res/drawable-xxhdpi/go_receive.png


二進制
app/src/main/res/drawable-xxhdpi/ic_50_coupon.png


二進制
app/src/main/res/drawable-xxhdpi/ic_certification.png


二進制
app/src/main/res/drawable-xxhdpi/ic_go_fill_in.png


二進制
app/src/main/res/drawable-xxhdpi/ic_red_envelope.webp


+ 9 - 0
app/src/main/res/drawable/bg_f9f9fb_radius5.xml

@ -0,0 +1,9 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<selector xmlns:android="http://schemas.android.com/apk/res/android">
3
    <item >
4
        <shape android:shape="rectangle">
5
            <solid android:color="@color/color_f9f9fb" />
6
            <corners android:radius="4dp" />
7
        </shape>
8
    </item>
9
</selector>

+ 30 - 0
app/src/main/res/layout/activity_charging_status.xml

@ -297,8 +297,37 @@
297 297
    <RelativeLayout
298 298
        android:layout_width="match_parent"
299 299
        android:layout_height="match_parent">
300
        <LinearLayout
301
            android:visibility="gone"
302
            android:id="@+id/layoutCarCertificate"
303
            android:background="@drawable/bg_f9f9fb_radius5"
304
            android:paddingBottom="3dp"
305
            android:paddingTop="3dp"
306
            android:paddingStart="13dp"
307
            android:paddingEnd="13dp"
308
            android:layout_marginTop="30dp"
309
            android:layout_centerHorizontal="true"
310
            android:layout_width="wrap_content"
311
            android:layout_height="wrap_content">
312
            <TextView
313
                android:drawablePadding="12dp"
314
                android:drawableLeft="@drawable/ic_certification"
315
                android:layout_marginEnd="35dp"
316
                android:gravity="center"
317
                android:layout_width="wrap_content"
318
                android:layout_height="match_parent"
319
                android:text="认证车主有优惠哦~"
320
                android:textColor="@color/color_0e0e0e"
321
                android:textSize="14sp"
322
                />
323
            <ImageView
324
                android:src="@drawable/right_cursor"
325
                android:layout_width="wrap_content"
326
                android:layout_height="match_parent"/>
300 327
328
        </LinearLayout>
301 329
        <ImageView
330
            tools:visibility="visible"
302 331
            android:id="@+id/iv_activity"
303 332
            android:layout_width="wrap_content"
304 333
            android:layout_height="wrap_content"
@ -309,6 +338,7 @@
309 338
            android:visibility="gone" />
310 339
311 340
        <TextView
341
            tools:visibility="visible"
312 342
            android:id="@+id/tv_activity"
313 343
            android:layout_width="wrap_content"
314 344
            android:layout_height="wrap_content"

+ 65 - 8
app/src/main/res/layout/activity_skip_user_info.xml

@ -127,6 +127,7 @@
127 127
128 128
129 129
            <View
130
                android:visibility="gone"
130 131
                android:layout_width="match_parent"
131 132
                android:layout_height="0.5dp"
132 133
                android:layout_marginLeft="16dp"
@ -135,7 +136,7 @@
135 136
            <RelativeLayout
136 137
                android:layout_width="fill_parent"
137 138
                android:layout_height="45dp"
138
                android:background="@color/white">
139
              >
139 140
140 141
                <TextView
141 142
                    android:layout_width="wrap_content"
@ -143,8 +144,8 @@
143 144
                    android:gravity="center"
144 145
                    android:paddingLeft="16dp"
145 146
                    android:text="昵称"
146
                    android:textColor="@color/title_row"
147
                    android:textSize="15sp" />
147
                    android:textColor="@color/color_f9f9f9"
148
                    android:textSize="14dp" />
148 149
149 150
                <EditText
150 151
                    android:id="@+id/et_nickName"
@ -158,7 +159,7 @@
158 159
                    android:gravity="center|right"
159 160
                    android:hint="请输入昵称"
160 161
                    android:singleLine="true"
161
                    android:textColor="@color/ui_62"
162
                    android:textColor="@color/color_0e0e0e"
162 163
                    android:textColorHint="@color/hintColor"
163 164
                    android:textSize="15sp" />
164 165
@ -169,13 +170,12 @@
169 170
                android:layout_height="0.5dp"
170 171
                android:layout_marginLeft="16dp"
171 172
                android:background="@color/ui_line"
172
                android:visibility="visible" />
173
                android:visibility="gone" />
173 174
174 175
            <RelativeLayout
175 176
                android:id="@+id/go_certificate"
176 177
                android:layout_width="fill_parent"
177 178
                android:layout_height="45dp"
178
                android:background="@color/white"
179 179
                android:visibility="visible">
180 180
181 181
                <TextView
@ -185,8 +185,8 @@
185 185
                    android:gravity="center"
186 186
                    android:paddingLeft="15dp"
187 187
                    android:text="去认证车主(获得充电优惠)"
188
                    android:textColor="@color/title_row"
189
                    android:textSize="15sp" />
188
                    android:textColor="@color/color_f9f9f9"
189
                    android:textSize="14dp" />
190 190
191 191
                <TextView
192 192
                    android:id="@+id/go_desc"
@ -216,6 +216,62 @@
216 216
                    android:src="@drawable/icon_more2_0" />
217 217
218 218
            </RelativeLayout>
219
            <RelativeLayout
220
                android:id="@+id/carIntentModel"
221
                android:layout_width="fill_parent"
222
                android:layout_height="45dp"
223
                android:visibility="visible">
224
225
                <TextView
226
                    android:gravity="center"
227
                    android:paddingLeft="15dp"
228
                    android:layout_width="wrap_content"
229
                    android:layout_height="match_parent"
230
                    android:text="意向车型"
231
                    android:textColor="@color/color_f9f9f9"
232
                    android:textSize="14sp"
233
                    />
234
235
                <TextView
236
                    android:layout_width="wrap_content"
237
                    android:layout_height="45dp"
238
                    android:layout_alignParentTop="true"
239
                    android:layout_alignParentEnd="true"
240
                    android:layout_alignParentRight="true"
241
                    android:layout_marginRight="15dp"
242
                    android:background="@color/white"
243
                    android:gravity="center|right"
244
                    android:singleLine="true"
245
                    android:textColor="@color/ui_62"
246
                    android:textColorHint="@color/ui_68"
247
                    android:textSize="15sp"
248
                    tools:text="审核中" />
249
                <TextView
250
                    android:id="@+id/carModel"
251
                    android:layout_marginEnd="15dp"
252
                    android:layout_width="wrap_content"
253
                    android:layout_height="match_parent"
254
                    android:text="首次选择意向车型(得充电余额)"
255
                    android:textColor="#ff0e0e0e"
256
                    android:textSize="14sp"
257
                    android:layout_alignParentRight="true"
258
                    android:layout_marginRight="15dp"
259
                    android:background="@color/white"
260
                    android:gravity="center|right"
261
                    android:singleLine="true"
262
                    android:textColorHint="@color/ui_68"
263
                    tools:text="审核中" />
264
265
                <ImageView
266
                    android:layout_width="wrap_content"
267
                    android:layout_height="match_parent"
268
                    android:layout_alignParentEnd="true"
269
                    android:layout_alignParentRight="true"
270
                    android:layout_centerVertical="true"
271
                    android:layout_marginRight="15dp"
272
                    android:src="@drawable/icon_more2_0" />
273
274
            </RelativeLayout>
219 275
220 276
            <RelativeLayout
221 277
                android:id="@+id/rl_select_car"
@ -298,6 +354,7 @@
298 354
            </com.zhy.autolayout.AutoRelativeLayout>
299 355
300 356
            <View
357
                android:visibility="gone"
301 358
                android:layout_width="match_parent"
302 359
                android:layout_height="0.5dp"
303 360
                android:background="@color/ui_line" />

+ 2 - 0
app/src/main/res/layout/activity_user_info.xml

@ -228,6 +228,7 @@
228 228
            </LinearLayout>
229 229
230 230
            <LinearLayout
231
                android:id="@+id/carIntentModel"
231 232
                android:layout_width="match_parent"
232 233
                android:layout_height="45dp">
233 234
                <TextView
@ -244,6 +245,7 @@
244 245
                    android:layout_width="0dp"
245 246
                    android:layout_height="match_parent"/>
246 247
                <TextView
248
                    android:id="@+id/carModel"
247 249
                    android:gravity="center"
248 250
                    android:layout_width="wrap_content"
249 251
                    android:layout_height="match_parent"

+ 13 - 3
app/src/main/res/layout/dialog_not_login.xml

@ -24,10 +24,20 @@
24 24
            android:layout_height="wrap_content"/>
25 25
        <ImageView
26 26
            android:id="@+id/logoDialog"
27
            android:layout_marginTop="15dp"
28 27
            app:layout_constraintTop_toTopOf="parent"
29 28
            app:layout_constraintEnd_toEndOf="parent"
30 29
            app:layout_constraintStart_toStartOf="parent"
30
            app:layout_constraintBottom_toTopOf="@+id/contentImg"
31
            tools:src="@drawable/bg_not_login_dialog"
32
            android:layout_width="wrap_content"
33
            android:layout_height="wrap_content"/>
34
        <ImageView
35
36
            android:id="@+id/contentImg"
37
            app:layout_constraintBottom_toTopOf="@+id/content"
38
            app:layout_constraintEnd_toEndOf="parent"
39
            app:layout_constraintStart_toStartOf="parent"
40
            app:layout_constraintTop_toBottomOf="@id/logoDialog"
31 41
            tools:src="@drawable/bg_not_login_dialog"
32 42
            android:layout_width="wrap_content"
33 43
            android:layout_height="wrap_content"/>
@ -37,16 +47,16 @@
37 47
            android:layout_marginEnd="16dp"
38 48
            android:layout_marginStart="16dp"
39 49
            android:lineSpacingExtra="2dp"
40
            android:layout_marginTop="15dp"
41 50
            android:id="@+id/content"
42 51
            android:layout_width="match_parent"
43 52
            android:layout_height="wrap_content"
44 53
            tools:text="我知道你关注我很久了快来注册登录吧\n登录后可以在部分充电桩扫码充电认证车主还有充电优惠"
45 54
            android:textColor="#ff0e0e0e"
46 55
            android:textSize="14sp"
56
            app:layout_constraintBottom_toTopOf="@+id/neglect"
47 57
            app:layout_constraintEnd_toEndOf="parent"
48 58
            app:layout_constraintStart_toStartOf="parent"
49
            app:layout_constraintTop_toBottomOf="@id/logoDialog" />
59
            app:layout_constraintTop_toBottomOf="@id/contentImg" />
50 60
51 61
        <ImageView
52 62
            app:layout_constraintBottom_toBottomOf="parent"

+ 1 - 0
app/src/main/res/values/color.xml

@ -191,6 +191,7 @@
191 191
    <color name="color_0e0e0e">#0E0E0E</color>
192 192
    <color name="color_c4c7d2">#C4C7D2</color>
193 193
    <color name="color_f9f9f9">#ff9b9b9b</color>
194
    <color name="color_f9f9fb">#F9F9FB</color>
194 195
    <color name="color_ffe32727">#ffe32727</color>
195 196
    <color name="color_f6f6f6">#F6F6F6</color>
196 197
    <color name="sv_black">#FF000000</color>

cdzApp - Gogs: Go Git Service

充电桩app代码

.gitignore 1.3KB

    # Created by .ignore support plugin (hsz.mobi) ### Android template # Built application files *.apk *.ap_ # Files for the ART/Dalvik VM *.dex # Java class files *.class # Generated files bin/ gen/ out/ bugly # Gradle files .gradle/ build/ # Local configuration file (sdk path, etc) local.properties # Proguard folder generated by Eclipse proguard/ # Log Files *.log # Android Studio Navigation editor temp files .navigation/ # Android Studio captures folder captures/ # IntelliJ *.iml .idea/workspace.xml .idea/tasks.xml .idea/gradle.xml .idea/assetWizardSettings.xml .idea/dictionaries .idea/libraries .idea/caches */.DS_Store # Keystore files # Uncomment the following line if you do not want to check your keystore files in. #*.jks # External native build folder generated in Android Studio 2.2 and later .externalNativeBuild # Google Services (e.g. APIs or Firebase) google-services.json # Freeline freeline.py freeline/ freeline_project_description.json # fastlane fastlane/report.xml fastlane/Preview.html fastlane/screenshots fastlane/test_output fastlane/readme.md ### Example user template template ### Example user template .idea/codeStyles/ .idea/inspectionProfiles/ .idea/misc.xml .idea/modules.xml .idea/runConfigurations.xml .idea/vcs.xml .idea/encodings.xml *.hprof