Skip to content

Commit ffeacf5

Browse files
committed
alter build.gradle
1 parent e3362a0 commit ffeacf5

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

README.md

+48
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,54 @@
88

99
#### 其三 就是这个框架了,哈哈
1010

11+
12+
#### 自定义属性含义
13+
14+
property | means
15+
16+
17+
18+
### Dependency
19+
20+
#### Step 1. Add the JitPack repository to your build file
21+
22+
```
23+
allprojects {
24+
repositories {
25+
...
26+
maven { url 'https://jitpack.io' }
27+
}
28+
}
29+
```
30+
#### Step 2. Add the dependency
31+
32+
```
33+
dependencies {
34+
implementation 'com.github.fazhongxu:LBannerView:v0.1.0'
35+
}
36+
```
37+
38+
39+
40+
#### 布局文件使用
41+
42+
<json.xxl.com.lbannerview.BannerView
43+
android:layout_marginTop="20dp"
44+
android:id="@+id/banner_view_below"
45+
android:layout_width="match_parent"
46+
android:layout_height="0dp"
47+
app:bottomColor="@color/transparent"
48+
app:dotGravity="center"
49+
app:dotIndicatorFocus="@color/colorPrimary"
50+
app:dotIndicatorNormal="@color/colorGray"
51+
app:widthProportion="8"
52+
app:heightProportion="3"
53+
app:bulge="true"
54+
app:bulgeDistance="30"
55+
app:bottomType="belowPic"
56+
app:dotSize="10dp" />
57+
58+
1159
### 效果图
1260

1361

lbannerview/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ android {
2727
dependencies {
2828
implementation fileTree(dir: 'libs', include: ['*.jar'])
2929

30-
implementation 'com.android.support:appcompat-v7:28.0.0-rc02'
30+
implementation 'com.android.support:appcompat-v7:28+'
3131
testImplementation 'junit:junit:4.12'
3232
androidTestImplementation 'com.android.support.test:runner:1.0.2'
3333
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

0 commit comments

Comments
 (0)