# razerdp/basepopup

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/razerdp-basepopup).**

5,255 stars · 762 forks · Java · Apache-2.0

## Links

- GitHub: https://github.com/razerdp/BasePopup
- Homepage: https://github.com/razerdp/BasePopup
- awesome-repositories: https://awesome-repositories.com/repository/razerdp-basepopup.md

## Topics

`android` `popup` `popup-menu` `popup-window` `popup-windows` `popupwindow`

## Description

BasePopup is an Android popup window library and UI component framework designed for creating custom floating windows and overlays within Android applications. It provides a set of reusable elements to render focused content and temporary controls on top of the main application screen.

The library manages the layout and display of these floating views through a custom framework that standardizes the appearance and behavior of pop-up menus. It specifically implements Android popup window functionality to provide contextual options without requiring navigation away from the current page.

The framework covers UI component development through window management, coordinate calculation based on anchor views, and dynamic dimension adaptation. It handles view inflation and event handling to integrate these floating elements into the mobile interface.

## Tags

### User Interface & Experience

- [Pop-up Overlays](https://awesome-repositories.com/f/user-interface-experience/pop-up-overlays.md) — Provides a framework for creating floating UI overlays that display focused content over the main screen. ([source](https://cdn.jsdelivr.net/gh/razerdp/basepopup@master/README.md))
- [Android Custom Popups](https://awesome-repositories.com/f/user-interface-experience/styled-properties/popup-styling/android-custom-popups.md) — Offers a library of customizable popup menus and dropdowns designed specifically for the Android platform.
- [Coordinate-Based Position Calculators](https://awesome-repositories.com/f/user-interface-experience/coordinate-based-position-calculators.md) — Implements logic for determining popup window positions by calculating spatial coordinates relative to anchor views.
- [Dynamic Layout Inflations](https://awesome-repositories.com/f/user-interface-experience/dynamic-layout-inflations.md) — Provides runtime inflation of XML layout files into views using the current Android activity context.

### Development Tools & Productivity

- [PopupWindow Management](https://awesome-repositories.com/f/development-tools-productivity/macos-utilities/native-window-contexts/native-windowing/android-window-accesses/popupwindow-management.md) — Utilizes the native Android PopupWindow class to handle window layering and positioning relative to anchor views.

### Mobile Development

- [Android UI Components](https://awesome-repositories.com/f/mobile-development/android-ecosystem/android-ui-components.md) — Provides reusable UI components and widgets specifically for creating popups and overlays in Android apps.
- [Android Interface Design](https://awesome-repositories.com/f/mobile-development/android-interface-design.md) — Facilitates the design of focused Android interface elements that provide contextual options without page navigation.

### Software Engineering & Architecture

- [PopupWindow Implementations](https://awesome-repositories.com/f/software-engineering-architecture/clean-architecture-frameworks/android-implementations/popupwindow-implementations.md) — Implements the layout and display management for floating views using Android's PopupWindow mechanism.

### Operating Systems & Systems Programming

- [Adaptive Window Dimensioning](https://awesome-repositories.com/f/operating-systems-systems-programming/display-dimension-calculators/adaptive-window-dimensioning.md) — Calculates window width and height dynamically based on content size or screen percentages before display.
