RelativePopupWindow
来源:互联网 发布:网络管理(兼职) 编辑:程序博客网 时间:2024/06/05 05:46
RelativePopupWindow
项目地址:kakajika/RelativePopupWindow
简介:Android PopupWindow that can be easily located relative to anchor View.
Android PopupWindow that can be easily located relative to anchor View.
How To Use
Extend RelativePopupWindow class and call showOnAnchor().
popup.showOnAnchor(anchor, VerticalPosition.ABOVE, HorizontalPosition.CENTER);
See detail example in ExampleCardPopup.kt or in Java, ExampleCardPopup.java.
Position Parameters
VerticalPosition
- ABOVE
- ALIGN_BOTTOM
- CENTER
- ALIGN_TOP
- BELOW
HorizontalPosition
- LEFT
- ALIGN_RIGHT
- CENTER
- ALIGN_LEFT
- RIGHT
Install
This library is available in jcenter.
compile 'com.labo.kaji:relativepopupwindow:0.2.0'
1 0
- RelativePopupWindow
- RelativePopupWindow.showOnAnchor 空指针
- 【codeforces 723C C. Sanatorium】
- 线程同步
- Configuration problem: Failed to import bean definitions from relative location
- 可行性研究
- Spring Boot学习笔记
- RelativePopupWindow
- Drupal学习笔记一:Druple安装
- 自定义滚动条案例
- 动态规划
- cdsn ——博客
- 低频RFID读卡流程
- [转]xcode提示App Transport Security has blocked a cleartext HTTP (http://) resource load的解决办法
- android面试题(未完)
- 按键驱动(平台文件、中断)