Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Zhang committed Nov 4, 2015
1 parent 78a7e4b commit eb51786
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,16 @@ StatusBarCompat 能让Android 4.4实现Material Design风格的状态栏(包
`build.gradle` 加入如下依赖:

```groovy
repositories {
maven {
url "https://jitpack.io"
}
}
dependencies {
compile 'com.android.support:appcompat-v7:23.1.0'
compile 'com.android.support:design:23.1.0'
compile 'com.github.luckyandyzhang:StatusBarCompat:1.0.0'
}
```

Expand All @@ -43,7 +50,7 @@ StatusBarCompact.init(this,Color.parseColor("#303F9F");

##样式
- Style.NORMAL (默认选项)
- Style.FILL
- Style.FILL (请配合DrawerLayoutNavigationView使用)

如果是带有Drawer的布局,请使用官方的 DrawerLayout + NavigationViewScrimInsetsFrameLayout
使用的时候需要注意:
Expand Down

0 comments on commit eb51786

Please sign in to comment.