# SmartPopupWindow **Repository Path**: jansonshen2016/SmartPopupWindow ## Basic Information - **Project Name**: SmartPopupWindow - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-08 - **Last Updated**: 2025-06-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SmartPopupWindow 用法: ```java SmartPopupWindow popupWindow= SmartPopupWindow.Builder .build(Activity.this, view) .setAlpha(0.4f) //背景灰度 默认全透明 .setOutsideTouchDismiss(false) //点击外部消失 默认true(消失) .createPopupWindow(); popupWindow.showAtAnchorView(view, VerticalPosition.ABOVE, HorizontalPosition.CENTER); ``` 水平方向参数HorizontalPosition:LEFT 、 RIGHT 、 ALIGN_LEFT 、 ALIGN_RIGHT、 CENTER 竖直方向参数VerticalPosition :ABOVE 、 BELOW、 ALIGN_TOP 、 ALIGN_BOTTOM、 CENTER