Snapshot of pedrovgs/DraggablePanel: 3.0k★, Java. Android library used to create an awesome Android UI based on a draggable element similar to the last YouTube graphic component.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
DEPRECATED. This project is not maintained anymore.
Draggable Panel is an Android library created to build a draggable user interface similar to the new YouTube draggable video component based on Fragments or Views.
This Android library offers you two main classes to use and create your own awesome user interfaces. If you want to use it with fragments add DraggablePanel to your layout. If you want to use it with views use DraggableView and put your views inside.
This new component has been created using some concepts described on Flavien Laurent Blog and Denevell Blog.
To create this library I've used an Android component called ViewDragHelper and ViewDragHelper.Calback. This component doesn't have too much documentation and that's the reason why I've added some javadoc to my code in order to clarify the component usage.
This library works on Android 4.X or higher versions but not in lower versions because the scale effect is not going to work properly when the user try to drag the view. The clickable zone on a scaled view in Android 2.X is bigger than the real scaled zone.
Screenshots
Usage
To use Draggable Panel library and get your new awesome UI working you can use two different Android widgets:
Add DraggablePanel widget to your layout. Configure the view customization elements using styleable attributes or programatically and configure your fragments to work as top or bottom fragment inside the DraggablePanel widget.
Add DraggableView widget to your layout. Configure the view to use two children views as the draggable view and the second view. Configure the customization elements using styleable attributes or programatically.
**If you are going to use DraggablePanel or DraggableView combined with a DrawerLayout review Famous Places Sample Activity
Import DraggablePanel dependency
Download the project, compile it using maven or gradle and import draggablepanel-1.9.aar into your project.
Or declare it into your pom.xml. This library uses NineOldAndroid library and Android support library v4 version 19.1.0, you have to provide this dependencies from your local artifact repository or from maven central repository.
*Does your app use DraggablePanel? If you want to be featured on this list tell me on Twitter
Libraries used on the sample project
Renderers
Dagger
Butterknife
NineOldAndroids
Picasso
ActionBarSherlock
YouTube Player
License
Copyright 2014 Pedro Vicente Gómez Sánchez
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.
TopGit's last sync did not record any GitHub topics for pedrovgs/DraggablePanel. GitHub topics appear in the right sidebar of a repository page; that's the authoritative place to check.
How active is development on pedrovgs/DraggablePanel?
The most recent commit recorded on pedrovgs/DraggablePanel was 9.4 years ago, based on the GitHub push timestamp. The repository has 592 forks — one of the better signals of community interest.
How many stars does pedrovgs/DraggablePanel have?
pedrovgs/DraggablePanel has 3.0k GitHub stars — refresh the page for the live number, or check github.com/pedrovgs/DraggablePanel. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
What is pedrovgs/DraggablePanel?
pedrovgs/DraggablePanel (pedrovgs/DraggablePanel) is a Java project on GitHub. From the project's own README: Android library used to create an awesome Android UI based on a draggable element similar to the last YouTube graphic component.
What language is pedrovgs/DraggablePanel written in?
pedrovgs/DraggablePanel is written primarily in Java. GitHub's language field is based on the largest share of bytes in the default branch.
Read full README in the tab above.
Curious whether DraggablePanel is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about DraggablePanel.