This repository was archived by the owner on Sep 9, 2022. It is now read-only.
File tree 11 files changed +19
-12
lines changed
java/com/absinthe/chillweather
11 files changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ android {
6
6
applicationId " com.absinthe.chillweather"
7
7
minSdkVersion 21
8
8
targetSdkVersion 28
9
- versionCode 624
10
- versionName " 1.0.7 "
9
+ versionCode 636
10
+ versionName " 1.0.8 "
11
11
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
12
12
}
13
13
buildTypes {
@@ -35,9 +35,9 @@ dependencies {
35
35
implementation ' com.google.android.material:material:1.0.0'
36
36
37
37
implementation ' org.litepal.android:java:3.0.0'
38
- implementation ' com.squareup.okhttp3:okhttp:3.12.0 '
38
+ implementation ' com.squareup.okhttp3:okhttp:3.13.1 '
39
39
implementation ' com.google.code.gson:gson:2.8.5'
40
- implementation ' com.github.bumptech.glide:glide:4.8 .0'
40
+ implementation ' com.github.bumptech.glide:glide:4.9 .0'
41
41
implementation ' com.wenwenwen888:searchbox:1.0.0'
42
42
implementation ' com.github.daniel-stoneuk:material-about-library:2.4.2'
43
43
implementation ' com.mikepenz:iconics-core:3.1.0'
Original file line number Diff line number Diff line change 38
38
android : supportsRtl =" true"
39
39
android : theme =" @style/Splashscreen"
40
40
tools : ignore =" GoogleAppIndexingWarning,RtlEnabled"
41
- tools : targetApi =" donut" >
41
+ android : usesCleartextTraffic =" true"
42
+ tools : targetApi =" n" >
42
43
<activity android : name =" .MainActivity" >
43
44
<intent-filter >
44
45
<action android : name =" android.intent.action.MAIN" />
48
49
</activity >
49
50
<activity
50
51
android : name =" .WeatherActivity"
51
- android : launchMode =" singleTask" ></ activity >
52
+ android : launchMode =" singleTask" / >
52
53
53
54
<meta-data
54
55
android : name =" TencentMapSDK"
55
56
android : value =" NE6BZ-WLH6V-WLVPM-UGGQT-OZIUE-2EFR7" />
56
57
58
+ <meta-data
59
+ android : name =" android.max_aspect"
60
+ android : value =" 2.1" />
61
+
57
62
<activity
58
63
android : name =" .RecyclerActivity"
59
64
android : label =" @string/city_manage"
Original file line number Diff line number Diff line change 1
1
{
2
- "VersionCode" : " 624 " ,
3
- "VersionName" : " 1.0.7 "
2
+ "VersionCode" : " 636 " ,
3
+ "VersionName" : " 1.0.8 "
4
4
}
Original file line number Diff line number Diff line change 33
33
import android .view .LayoutInflater ;
34
34
import android .view .MotionEvent ;
35
35
import android .view .View ;
36
+ import android .view .WindowManager ;
36
37
import android .widget .Button ;
37
38
import android .widget .ImageView ;
38
39
import android .widget .LinearLayout ;
@@ -258,7 +259,7 @@ public void initView() {
258
259
.into (ivNavHeaderPic ); //防止长按无法回弹
259
260
break ;
260
261
}
261
- return true ; //还回为true ,说明事件已经完成了,不会再被其他事件监听器调用
262
+ return true ; //返回为true ,说明事件已经完成了,不会再被其他事件监听器调用
262
263
});
263
264
264
265
NotificationManager manager = (NotificationManager ) getSystemService (Context .NOTIFICATION_SERVICE );
Original file line number Diff line number Diff line change 9
9
<ImageView
10
10
android : id =" @+id/iv_bing_pic"
11
11
android : layout_width =" match_parent"
12
- android : layout_height =" match_parent"
13
- android : scaleType =" centerCrop"
12
+ android : layout_height =" wrap_content"
14
13
android : background =" @drawable/bg_loading"
14
+ android : scaleType =" centerCrop"
15
15
android : contentDescription =" @string/background_pic" />
16
16
17
17
<androidx .drawerlayout.widget.DrawerLayout
Original file line number Diff line number Diff line change 9
9
android : id =" @+id/iv_nav_header"
10
10
android : layout_width =" match_parent"
11
11
android : layout_height =" match_parent"
12
+ android : scaleType =" centerCrop"
12
13
android : background =" @drawable/bg_nav_header_pic" />
13
14
14
15
</RelativeLayout >
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ buildscript {
7
7
jcenter()
8
8
}
9
9
dependencies {
10
- classpath ' com.android.tools.build:gradle:3.3.0 '
10
+ classpath ' com.android.tools.build:gradle:3.3.2 '
11
11
12
12
// NOTE: Do not place your application dependencies here; they belong
13
13
// in the individual module build.gradle files
You can’t perform that action at this time.
0 commit comments