https://github.com/purewriter/fulldraggabledrawer
Make Android DrawerLayout can be dragged out in real-time within the range of fullscreen
https://github.com/purewriter/fulldraggabledrawer
android drawerlayout
Last synced: about 1 year ago
JSON representation
Make Android DrawerLayout can be dragged out in real-time within the range of fullscreen
- Host: GitHub
- URL: https://github.com/purewriter/fulldraggabledrawer
- Owner: PureWriter
- License: apache-2.0
- Created: 2021-01-02T06:09:44.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-23T06:24:37.000Z (over 5 years ago)
- Last Synced: 2025-04-06T20:16:29.314Z (about 1 year ago)
- Topics: android, drawerlayout
- Language: Java
- Homepage: https://t.me/PureWriter/549
- Size: 632 KB
- Stars: 284
- Watchers: 5
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# FullDraggableDrawer
[](https://github.com/drakeet/MultiType/blob/master/LICENSE)

Make the `DrawerLayout` can be dragged/pulled out in real-time within the range of fullscreen, like [Pure Writer](https://play.google.com/store/apps/details?id=com.drakeet.purewriter):

_* Full demo video: https://t.me/PureWriter/549_
## Getting started
In your `build.gradle`:
```groovy
dependencies {
implementation 'com.drakeet.drawer:drawer:1.0.3'
// Optional: No need if you just use the FullDraggableHelper
implementation 'androidx.drawerlayout:drawerlayout:1.1.1'
}
```
## Usage
Replace the main Layout of `DrawerLayout` with the `FullDraggableContainer` (or you can just add it as a new wrapper/layer):
```xml
```
**That's all, you're good to go!**
### Advanced usage
See `com.drakeet.drawer.FullDraggableHelper`
## TODO
- [x] Add support for the right drawer / RTL
- [x] Add support for other kinds of drawers
License
-------
Copyright (c) 2021. Drakeet Xu
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.