# BubblePopupWindow
**Repository Path**: archermind-ti/bubble-popup-window
## Basic Information
- **Project Name**: BubblePopupWindow
- **Description**: OHOS中实现各个方向的气泡弹窗,可控制气泡尖角偏移量。
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 4
- **Forks**: 1
- **Created**: 2021-05-27
- **Last Updated**: 2025-02-11
## Categories & Tags
**Categories**: harmonyos-popup
**Tags**: None
## README
# BubblePopupWindow
#### 项目介绍
- 实现各个方向的气泡弹窗,可控制气泡尖角偏移量
#### 安装教程
在entry的build.gradle中添加依赖
```
dependencies {
...
implementation 'com.gitee.archermind-ti:bubble-popup-window-ohos:1.0.0-beta'
...
}
```
### 截图
#### 使用说明
- 默认弹窗
```java
BubblePopupWindow leftTopWindow = new BubblePopupWindow(MainActivity.this);
Component bubbleView = LayoutScatter.getInstance(getContext()).parse(ResourceTable.Layout_popup_layout,null,false);
leftTopWindow = new BubblePopupWindow(MainAbilitySlice.this,null);
leftTopWindow.setBubbleView(bubbleView);
leftTopWindow.show(component, LayoutAlignment.BOTTOM);
```
```xml
```
#### 版本迭代
- v1.0
#### 版权和许可信息
- [Apache-2.0 License](https://gitee.com/archermind-ti/bubble-popup-window-ohos/blob/master/LICENSE)