pedrovgs/DraggablePanel là dự án mã nguồn mở trên GitHub, viết chủ yếu bằng Java, với 3.0k sao. Android library used to create an awesome Android UI based on a draggable element similar to the last YouTube graphic component.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
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.
pedrovgs/DraggablePanel có 3.0k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/pedrovgs/DraggablePanel. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
pedrovgs/DraggablePanel có tag gì không?
Bản đồng bộ chưa ghi nhận topic GitHub nào cho pedrovgs/DraggablePanel. GitHub topics hiển thị ở thanh bên phải trang repo — đó là nơi đáng kiểm tra nhất.
pedrovgs/DraggablePanel còn đang phát triển không?
Commit gần nhất trên pedrovgs/DraggablePanel là 9.4 năm trước (theo timestamp GitHub). Repo có 592 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
pedrovgs/DraggablePanel là gì?
pedrovgs/DraggablePanel (pedrovgs/DraggablePanel) là dự án Java trên GitHub. Theo mô tả gốc: Android library used to create an awesome Android UI based on a draggable element similar to the last YouTube graphic component.
pedrovgs/DraggablePanel viết bằng ngôn ngữ gì?
pedrovgs/DraggablePanel chủ yếu viết bằng Java. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
DraggablePanel có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về DraggablePanel.