https://github.com/spongycode/dynamic-tooltip
A mobile application that allows you to create dynamic tooltips with customizable positioning, style, and text for any target element.
https://github.com/spongycode/dynamic-tooltip
android kotlin tooltip ui-components
Last synced: 2 days ago
JSON representation
A mobile application that allows you to create dynamic tooltips with customizable positioning, style, and text for any target element.
- Host: GitHub
- URL: https://github.com/spongycode/dynamic-tooltip
- Owner: spongycode
- Created: 2023-06-13T19:11:59.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-16T08:13:06.000Z (almost 3 years ago)
- Last Synced: 2024-11-01T02:11:56.443Z (over 1 year ago)
- Topics: android, kotlin, tooltip, ui-components
- Language: Kotlin
- Homepage:
- Size: 4.6 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dynamic Tooltip 📱
A mobile application that allows you to create dynamic tooltips with customizable positioning, style, and text for any target element.
## Features 🌟
- Target Element Selection: Choose any element on the screen as the target for the tooltip. 👆
- Positioning: Position the tooltip above, below, to the left, or to the right of the target element. ⬆️⬇️⬅️➡️
- Arrow Alignment: The tooltip arrow is intelligently positioned to always point to the center of the target element, enhancing visual clarity and intuitiveness. 🔍
- Customizable Style: Adjust the tooltip's width, border radius, arrow width, arrow height, padding, text color, and background color to match your desired look and feel. 🎨
- Text Content: Set the text content of the tooltip to provide useful information or instructions. 📝
- Image Support: Optionally include an image inside the tooltip, with customizable image radius, width, and height. 🖼️
- Dynamic Positioning: The tooltip calculates whether it can fit on the screen with the given parameters before rendering, ensuring it does not exceed the screen boundaries. 📏
- Seamless Integration: The tooltip seamlessly works with buttons at any location on the mobile screen preview. 🔄
- Fill Default Values: Quickly populate the tooltip parameters with default values for a hassle-free setup. 🚀
## How It Works 🧠
The tooltip app incorporates background calculations to determine whether the tooltip can fit on the screen with the specified parameters. It takes into account the target element, positioning, style, and text content to dynamically calculate the tooltip's dimensions and position.
By performing these calculations, the app ensures that the tooltip does not exceed the screen boundaries and provides an optimal user experience. Only when it's possible to fit the tooltip within the available screen space, it is rendered on the screen for the user to see and interact with.
## Screenshots 📷
## Video Preview 📹
[![Video Preview]()](https://github.com/spongycode/dynamic-tooltip/assets/65273165/2ad5d4e1-fdfc-41b5-951a-1e3217298b55)
## Contributing 🤝
Feel free to contribute to this project by submitting issues, pull requests, or providing valuable feedback. Your contributions are always welcome! 🙌
## License 📄
Dynamic Tooltip is released under the [MIT License](https://opensource.org/licenses/MIT). Feel free to modify or add to this list based on the specific features of your app. 📝
## Happy coding! 🎉👩💻👨💻