Commit ffeacf5 1 parent e3362a0 commit ffeacf5 Copy full SHA for ffeacf5
File tree 2 files changed +49
-1
lines changed
2 files changed +49
-1
lines changed Original file line number Diff line number Diff line change 8
8
9
9
#### 其三 就是这个框架了,哈哈
10
10
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
+
11
59
### 效果图
12
60
13
61
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ android {
27
27
dependencies {
28
28
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
29
29
30
- implementation ' com.android.support:appcompat-v7:28.0.0-rc02 '
30
+ implementation ' com.android.support:appcompat-v7:28+ '
31
31
testImplementation ' junit:junit:4.12'
32
32
androidTestImplementation ' com.android.support.test:runner:1.0.2'
33
33
androidTestImplementation ' com.android.support.test.espresso:espresso-core:3.0.2'
You can’t perform that action at this time.
0 commit comments