Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zongjingyao committed Dec 6, 2016
1 parent 6cda675 commit 0aaa37b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ActionSheet on Android
### Add dependency
```
dependencies {
compile 'com.github.zongjingyao:actionsheet:0.1.2'
compile 'com.github.zongjingyao:actionsheet:0.1.3'
}
```
### Example
Expand All @@ -15,6 +15,8 @@ ActionSheet actionSheet = new ActionSheet.Builder()
//.setTitleTextSize(20)
.setOtherBtn(new String[]{"Btn0", "Btn1", "Btn2"}, new int[]{Color.BLACK, Color.GREEN, Color.GREEN})
//.setOtherBtnTextSize(30)
.setOtherBtnSub(new String[]{null, "Btn1 sub", ""}, new int[]{Color.BLACK, Color.GRAY, Color.GREEN})
//.setOtherBtnSubTextSize(20)
.setCancelBtn("Cancel", Color.RED)
//.setCancelBtnTextSize(30)
.setCancelableOnTouchOutside(true)
Expand All @@ -34,3 +36,4 @@ actionSheet.show(getFragmentManager());

## Screenshot
![screenshot](https://raw.githubusercontent.com/zongjingyao/AndroidActionSheet/master/screenshot/example.png)
![screenshot](https://raw.githubusercontent.com/zongjingyao/AndroidActionSheet/master/screenshot/example1.png)
Binary file added screenshot/example1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0aaa37b

Please sign in to comment.