1.添加依赖: AndroidUtilCode
implementation com.blankj: utilcode :1.9.6'
2.// init it in the function of onCreate in ur Application
Utils.init(context);
3.然后就开始愉快的使用啦。
详细使用方法,请参考 AndroidUtilCode
截图
BubbleView for Android
BubbleView是带箭头的Android气泡控件/容器类,支持在布局中通过自定义属性或代码进行丰富的定制
- 自定义箭头朝向:上、下、左、右、无
- 箭头自动指向目标
- 箭头高度、宽度、位置
- 气泡填充颜色、填充Padding、边框、边框颜色、圆角
-
BubbleTextView文字气泡/BubbleXxxLayout容器气泡
示意图