https://github.com/jjoe64/android-dockable-view
This view can be expanded/collapsed with a move gesture.
https://github.com/jjoe64/android-dockable-view
Last synced: 11 days ago
JSON representation
This view can be expanded/collapsed with a move gesture.
- Host: GitHub
- URL: https://github.com/jjoe64/android-dockable-view
- Owner: jjoe64
- Created: 2011-09-12T14:54:21.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-09-12T15:05:37.000Z (over 13 years ago)
- Last Synced: 2025-03-25T14:44:57.310Z (28 days ago)
- Homepage: http://www.jjoe64.com/2011/09/dockable-view.html
- Size: 87.9 KB
- Stars: 11
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Android custom view: DockableView.
This view can be expanded/collapsed with a move gesture.
It is like the notification view of the Facebook or Google+ App.== Usage ==
* Download/Copy the file DockableView.java from the git project
* Create a new class that extends this DockableView
* Your view must be nested in a RelativeLayout and must have the parameter android:layout_alignParentBottom="true"
* Set a Layout for your class
* [optional] override getDockedSize and/or getExpandedHeight