skydoves/PowerMenu
:fire: Powerful and modernized popup menu with fully customizable animations.
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Tháng
#1 Repository Của Tháng
#1 Repository Của Tháng
🔥 PowerMenu: Popup menu Android full tùy biến, animation mượt
PowerMenu — popup menu hiện đại, fully customizable, chạy trên Android API 15+.
PowerMenu là một thư viện Android cho phép tạo popup menu hiện đại, có thể tùy biến hoàn toàn bao gồm animation, màu sắc, bán kính góc, đổ bóng, và vị trí hiển thị. Dự án do skydoves phát triển, đã được hơn 340.000 dự án trên toàn thế giới sử dụng.
✨ Điểm nổi bật
- Builder pattern: Tạo menu bằng
PowerMenu.Builder, hỗ trợ thêm item hoặc danh sách item - Animation đa dạng: Hàng chục kiểu animation như SHOWUP, FADE, SLIDE, ZOOM...
- Tùy biến giao diện: Màu text, màu nền, bán kính góc, đổ bóng, typeface, gravity
- Hỗ trợ icon: Thêm icon drawable cho từng item menu
- Chọn trạng thái item: setSelectedTextColor, setSelectedMenuColor tô màu item được chọn
- Click listener: OnMenuItemClickListener xử lý sự kiện click từng item
- Anchor linh hoạt: showAsDropDown(view) gắn vào view bất kỳ
- Custom item layout: CustomPowerMenu hỗ trợ custom view cho item
💡 Vì sao đáng chú ý
Khác với các menu truyền thống của Android (ContextMenu, PopupMenu), PowerMenu cung cấp API fluent rất dễ dùng và hỗ trợ đầy đủ animation. Phù hợp cho các ứng dụng muốn có menu popup đẹp mà không cần viết custom dialog phức tạp.
#Android #PopupMenu #CustomView #Animation #OpenSource #TiniX
Similar Projects
Discover other similar projects and AI models.
🔥XPopup2.0版本重磅来袭,2倍以上性能提升,带来可观的动画性能优化和交互细节的提升!!!功能强大,交互优雅,动画丝滑的通用弹窗!可以替代Dialog,PopupWindow,PopupMenu,BottomSheet,DrawerLayout,Spinner等组件,自带十几种效果良好的动画, 支持完全的UI和动画自定义!(Powerful and Beautiful Popup for Android,can absolutely replace Dialog,PopupWindow,PopupMenu,BottomSheet,DrawerLayout,Spinner. With built-in animators , very easy to custom popup view.)
:closed_umbrella: An easy way to implement modern permission instructions popup.
✨ A beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero dependencies. 🇺🇦🇪🇺
A simple, customizable popup dialog for iOS written in Swift. Replaces UIAlertController alert style.
:balloon: Modernized and sophisticated tooltips, fully customizable with an arrow and animations for Compose and Kotlin Multiplatform.
PMAlertController is a great and customizable alert that can substitute UIAlertController