Skip to content

Commit d86b6b4

Browse files
committed
Merge branch 'dev' of https://github.com/luiing/StackViewLayout into dev
2 parents 221f520 + 39b74ee commit d86b6b4

6 files changed

Lines changed: 19 additions & 13 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
![效果图](/pic/pic001.jpeg)
99
![效果图](/pic/demo20.gif)
1010

11+
![尺寸说明](/pic/biaozhu.png)
12+
13+
<li>注释:此图解释参数意义,展示效果不太精确,图片真实宽度为**上层橙色**
14+
1115
### Use
1216
implementation 'com.uis:stacklayout:0.2.1'
1317

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4+
45
repositories {
56
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
67
jcenter()
78
google()
89
}
10+
911
dependencies {
1012
classpath 'com.android.tools.build:gradle:3.2.1'
1113
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
@@ -27,4 +29,7 @@ task clean(type: Delete) {
2729

2830
ext{
2931
androidx = '1.0.0'
32+
compileVer = 28
33+
minVer = 15
34+
buildVer = '28.0.3'
3035
}

demo/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 compileVer
5+
buildToolsVersion buildVer
66
defaultConfig {
77
applicationId "com.uis.stackview.demo"
8-
minSdkVersion 14
9-
targetSdkVersion 28
8+
minSdkVersion minVer
9+
targetSdkVersion compileVer
1010
versionCode 1
1111
versionName "1.0"
1212
manifestPlaceholders = [

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.0-all.zip

pic/biaozhu.png

74.7 KB
Loading

stacklayout/build.gradle

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

33
android {
4-
compileSdkVersion 28
5-
buildToolsVersion "28.0.3"
4+
compileSdkVersion compileVer
5+
buildToolsVersion buildVer
66

77
defaultConfig {
8-
minSdkVersion 14
9-
targetSdkVersion 28
8+
minSdkVersion minVer
9+
targetSdkVersion compileVer
1010
versionCode 1
1111
versionName "1.0"
1212
consumerProguardFiles 'proguard-rules.pro'
1313
}
14+
1415
buildTypes {
1516
release {
1617
minifyEnabled false
@@ -19,8 +20,4 @@ android {
1920
}
2021
}
2122

22-
dependencies {
23-
implementation fileTree(dir: 'libs', include: ['*.jar'])
24-
}
25-
2623
//apply from: '../../bintray.gradle'

0 commit comments

Comments
 (0)