Skip to content

Commit f434f04

Browse files
committed
upadte targetSdkVersion 29 和 主题色
1 parent 98f6340 commit f434f04

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

ByWebView/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
apply plugin: 'com.android.library'
22

33
android {
4-
compileSdkVersion 28
5-
buildToolsVersion "28.0.3"
4+
compileSdkVersion 29
5+
buildToolsVersion "29.0.3"
66

77

88
defaultConfig {
99
minSdkVersion 14
10-
targetSdkVersion 28
10+
targetSdkVersion 29
1111
versionCode 1
1212
versionName "1.0"
1313

app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 28
5-
buildToolsVersion "28.0.3"
4+
compileSdkVersion 29
5+
buildToolsVersion "29.0.3"
66
defaultConfig {
77
applicationId "com.example.jingbin.webviewstudy"
88
minSdkVersion 14
9-
targetSdkVersion 28
9+
targetSdkVersion 29
1010
versionCode 13
1111
versionName "3.2.0"
1212
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
@@ -50,5 +50,5 @@ dependencies {
5050
implementation files('libs/tbs_sdk_thirdapp_v3.1.0.1034_43100_sharewithdownload_obfs_20170301_182143.jar')
5151

5252
implementation project(':ByWebView')
53-
// implementation 'com.github.youlookwhat:ByWebView:1.0.0'
53+
// implementation 'com.github.youlookwhat:ByWebView:1.2.0'
5454
}

app/src/main/java/com/example/jingbin/webviewstudy/tencentx5/X5WebViewActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ private void getIntentData() {
8585
private void initTitle() {
8686
StatusBarUtil.setColor(this, ContextCompat.getColor(this, R.color.colorPrimary), 0);
8787
mProgressBar = findViewById(R.id.pb_progress);
88-
mProgressBar.setColor(ContextCompat.getColor(this, R.color.colorPink), ContextCompat.getColor(this, R.color.colorAccent));
88+
mProgressBar.setColor(ContextCompat.getColor(this, R.color.colorPink), ContextCompat.getColor(this, R.color.color_FF4081));
8989
mProgressBar.show();
9090
webView = findViewById(R.id.webview_detail);
9191
mTitleToolBar = findViewById(R.id.title_tool_bar);

app/src/main/java/com/example/jingbin/webviewstudy/ui/WebViewActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ private void initTitle() {
108108
mProgressBar.setVisibility(View.GONE);
109109
rl_web_container.addView(webView, new FrameLayout.LayoutParams(FrameLayout.LayoutParams.MATCH_PARENT, FrameLayout.LayoutParams.MATCH_PARENT));
110110
rl_web_container.addView(mProgressBar);
111-
mProgressBar.setColor(ContextCompat.getColor(this, R.color.colorAccent));
111+
mProgressBar.setColor(ContextCompat.getColor(this, R.color.coloRed));
112112
mProgressBar.show();
113113
initToolBar();
114114
}

app/src/main/res/values/colors.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
3-
<color name="colorPrimary">#3F51B5</color>
4-
<color name="colorPrimaryDark">#303F9F</color>
5-
<color name="colorAccent">#FF4081</color>
3+
<color name="colorPrimary">#2483D9</color>
4+
<color name="colorPrimaryDark">#2483D9</color>
5+
<color name="colorAccent">#2483D9</color>
66
<color name="coloRed">#ff0000</color>
77
<color name="colorPink">#ffb6cf</color>
8-
98
<color name="colorWhite">#ffffffff</color>
9+
<color name="color_FF4081">#FF4081</color>
1010
</resources>

0 commit comments

Comments
 (0)