compileSdkVersion升级

This commit is contained in:
oujunhui
2020-04-02 16:20:03 +08:00
parent 2f9d26fd7e
commit 783bb08358
6 changed files with 11 additions and 11 deletions

View File

@@ -1,11 +1,11 @@
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
android { android {
compileSdkVersion 26 compileSdkVersion 29
defaultConfig { defaultConfig {
minSdkVersion 19 minSdkVersion 19
targetSdkVersion 26 targetSdkVersion 29
testApplicationId 'com.soundcloud.android.crop.test' testApplicationId 'com.soundcloud.android.crop.test'
testInstrumentationRunner 'android.test.InstrumentationTestRunner' testInstrumentationRunner 'android.test.InstrumentationTestRunner'

View File

@@ -4,12 +4,12 @@ apply plugin: 'com.android.application'
apply from: 'and_res_guard.gradle' apply from: 'and_res_guard.gradle'
android { android {
compileSdkVersion 27 compileSdkVersion 29
defaultConfig { defaultConfig {
applicationId "com.wudoo.qingxun" applicationId "com.wudoo.qingxun"
minSdkVersion 19 minSdkVersion 19
targetSdkVersion 26 targetSdkVersion 29
versionCode Integer.valueOf(version_code) versionCode Integer.valueOf(version_code)
versionName version_name versionName version_name

View File

@@ -91,7 +91,7 @@ public class ClipPagerTitleView extends View implements IMeasurablePagerTitleVie
canvas.drawText(mText, x, y, mPaint); canvas.drawText(mText, x, y, mPaint);
// 画clip层 // 画clip层
canvas.save(Canvas.CLIP_SAVE_FLAG); canvas.save();
if (mLeftToRight) { if (mLeftToRight) {
canvas.clipRect(0, 0, getWidth() * mClipPercent, getHeight()); canvas.clipRect(0, 0, getWidth() * mClipPercent, getHeight());
} else { } else {

View File

@@ -2,10 +2,10 @@ apply plugin: 'com.android.library'
apply plugin: 'realm-android' apply plugin: 'realm-android'
android { android {
compileSdkVersion 26 compileSdkVersion 29
defaultConfig { defaultConfig {
minSdkVersion 19 minSdkVersion 19
targetSdkVersion 26 targetSdkVersion 29
versionCode 1 versionCode 1
versionName "1.0" versionName "1.0"

View File

@@ -1,10 +1,10 @@
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
android { android {
compileSdkVersion 27 compileSdkVersion 29
defaultConfig { defaultConfig {
minSdkVersion 19 minSdkVersion 19
targetSdkVersion 26 targetSdkVersion 29
versionCode 1 versionCode 1
versionName "1.0" versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

View File

@@ -1,12 +1,12 @@
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
android { android {
compileSdkVersion 26 compileSdkVersion 29
buildToolsVersion '27.0.3' buildToolsVersion '27.0.3'
defaultConfig { defaultConfig {
minSdkVersion 19 minSdkVersion 19
targetSdkVersion 26 targetSdkVersion 29
renderscriptTargetApi 26 renderscriptTargetApi 26
renderscriptSupportModeEnabled true renderscriptSupportModeEnabled true