All Projects → PopFisher → Smartpopupwindow

PopFisher / Smartpopupwindow

提供关于PopupWindow使用过程中遇到的一些特殊问题的解决方案,例如:PopupWindow不响应点击外部消失和返回键消失的解决方法;PopupWindow精确计算要显示位置原理和方法;实现带箭头的上下文菜单遇到的坑;Android7.0 PopupWindow的兼容问题;屏幕旋转时调用PopupWindow update方法更新位置失效的问题及解决方案

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Smartpopupwindow

Custompopwindow
对PopupWindow常用API的简单封装,几行代码就搞定PopupWindow弹窗,使用Builder模式,链式调用,像使用AlertDialog 一样
Stars: ✭ 1,333 (+110.25%)
Mutual labels:  popup-window
Wpopup
一个简单使用并且高度定制的Popupwindow。超简单实现朋友圈点赞效果,并且只用一个WPopup!完全不用担心复用问题!点击切换动画效果等!
Stars: ✭ 269 (-57.57%)
Mutual labels:  popup-window
Flutter deer
🦌 Flutter 练习项目(包括集成测试、可访问性测试)。内含完整UI设计图,更贴近真实项目的练习。Flutter practice project. Includes a complete UI design and exercises that are closer to real projects.
Stars: ✭ 5,725 (+803%)
Mutual labels:  popup-window
WechatPopupWindow
高仿微信聊天界面长按弹框样式
Stars: ✭ 71 (-88.8%)
Mutual labels:  popup-window
Chat-Bot
Chatbot – is a computer program that simulates a natural human conversation. Users communicate with a chatbot via the chat interface or by voice, like how they would talk to a real person.
Stars: ✭ 26 (-95.9%)
Mutual labels:  popup-window
Popbox.js
A tiny and simple stackable modal plugin for web apps
Stars: ✭ 295 (-53.47%)
Mutual labels:  popup-window
Popup Maker
Popup Maker plugin for WordPress
Stars: ✭ 87 (-86.28%)
Mutual labels:  popup-window
Android Simple Tooltip
A simple library based on PopupWindow to create Tooltips on Android. 💚
Stars: ✭ 622 (-1.89%)
Mutual labels:  popup-window
BalloonPopup
Forget Android Toast! BalloonPopup displays a round or squared popup and attaches it to a View, like a callout. Uses the Builder pattern for maximum ease. The popup can automatically hide and can persist when the value is updated.
Stars: ✭ 32 (-94.95%)
Mutual labels:  popup-window
Basepopup
Android下打造通用便捷的PopupWindow弹窗库
Stars: ✭ 4,603 (+626.03%)
Mutual labels:  popup-window
ToolTipPopupWordTV
ToolTipopupWordTV is an Open Source Android library that allows developers to easily open a popup with details by select a word from a textview.
Stars: ✭ 41 (-93.53%)
Mutual labels:  popup-window
vision-ml
A R-CNN machine learning model for handling Pop-up window in mobile Apps.
Stars: ✭ 49 (-92.27%)
Mutual labels:  popup-window
Popuplist
The edit menu in Android, like the UIMenuController in iOS
Stars: ✭ 296 (-53.31%)
Mutual labels:  popup-window
AckBar
AckBar is a very lightweight and customizable android library to display brief message to user.
Stars: ✭ 14 (-97.79%)
Mutual labels:  popup-window
Needs
🌂 An easy way to implement modern permission instructions popup.
Stars: ✭ 546 (-13.88%)
Mutual labels:  popup-window
Overlaycontroller
OverlayController easily pop your custom view and provide optional transition animation. written in swift 5.0
Stars: ✭ 94 (-85.17%)
Mutual labels:  popup-window
React New Window
🔲 Pop new windows in React, using `window.open`.
Stars: ✭ 281 (-55.68%)
Mutual labels:  popup-window
Xpopup
🔥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 v…
Stars: ✭ 6,106 (+863.09%)
Mutual labels:  popup-window
Materialpopupmenu
Shows Material popup menus grouped in sections & more
Stars: ✭ 567 (-10.57%)
Mutual labels:  popup-window
Popupwindow
PopupWindow is a simple Popup using another UIWindow in Swift
Stars: ✭ 401 (-36.75%)
Mutual labels:  popup-window

SmartPopupWindow

提供关于PopupWindow使用过程中遇到的一些特殊问题的解决方案

  1. PopupWindow不响应点击外部消失和返回键消失的解决方法
    博文地址:http://www.cnblogs.com/popfisher/p/5608717.html

  2. PopupWindow精确计算要显示位置原理和方法
    博文地址:http://www.cnblogs.com/popfisher/p/5608436.html

  3. 不得不吐槽的Android PopupWindow的几个痛点(实现带箭头的上下文菜单遇到的坑)
    博文地址:http://www.cnblogs.com/popfisher/p/5944054.html

  4. Android7.0 PopupWindow的兼容问题,修复了问题1和3中描述的问题,但是由引入了新的问题吗,具体详情
    博文地址:http://www.cnblogs.com/popfisher/p/6434757.html
    Github地址:https://github.com/PopFisher/SmartPopupWindow/blob/master/7.0PopupWindow.md

  5. 屏幕旋转时调用PopupWindow update方法更新位置失效的问题及解决方案。
    博文地址:http://www.cnblogs.com/popfisher/p/8029616.html
    Github地址:https://github.com/PopFisher/SmartPopupWindow/blob/master/ScreenRotateUpdatePopup.md

效果如下图所示:##

问题1截图

不会响应外部点击消失事件的情况

问题2截图

动态计算弹出框的位置 动态计算弹出框的位置

问题3截图

第一排左边按钮菜单 第一排右边按钮菜单 第二排中间按钮菜单

问题4相关截图

7.0主Activity

1. PopupWindow高宽都设置为match_parent:从屏幕左上角弹出

2. 宽度wrap_content-高度match_parent:从屏幕左上角弹出

3. 宽度match_parent-高度wrap_content:从anchorView下方弹出

4. 宽度wrap_content-高度大于anchorView到屏幕底部的距离:从anchorView上方弹出,与anchorView左对齐

5. showAtLocation传入Gravity.Bottom:从anchorView下方弹出

6. 调用update方法更新第5点中弹出PopupWindow,发现PopupWindow的Gravity发生了改变

详细可以参考 http://www.jianshu.com/p/0df10893bf5b

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].