Android开源框架:RelativePopupWindow(

2019-09-26  本文已影响0人  嘤嘤嘤999

RelativePopupWindow(请去GitHub集成实现功能)

项目地址:https://github.com/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

implementation 'com.labo.kaji:relativepopupwindow:0.2.0'
上一篇下一篇

猜你喜欢

热点阅读