Skip to content

Commit

Permalink
project setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Maglie committed Aug 23, 2016
1 parent f03bcfc commit 7aff83b
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
TopSheet - a "top" version of BottomSheet
=========================================

Usage
TopSheetBehaviour
-----
```java
View sheet = findViewById(R.id.top_sheet);
TopSheetBehavior.from(sheet).setState(TopSheetBehavior.STATE_EXPANDED);
```

TopSheetDialog
-----
```java
TopSheetDialog dialog = new TopSheetDialog(this);
dialog.setContentView(R.layout.sheet_content);
dialog.show();
dialog.setContentView(R.layout.sheet_content);
dialog.show();
```



License
-------

Expand Down

0 comments on commit 7aff83b

Please sign in to comment.