MagnifierView is a custom Android view that displays an zoomed (magnified) circular area of a source bitmap at a specified touch point. It is designed to simulate a magnifying glass effect.
To use MagnifierView properly, make sure it's placed inside a FrameLayout.
For best results, I recommend giving the FrameLayout (or its child container like a LinearLayout) a solid background color, especially if it holds a TextView or other UI elements. This prevents the magnifier from showing through with a transparent background, which can make the content underneath hard to see clearly.
Note MagnifierView will not trigger when you long-press directly on buttons or other interactive elements (such as onClick views or other event listeners). In the future I will try to provide support for scrollview and other scrollable widgets too !
I will update this project occasionally!
📢 Telegram Group: https://t.me/inflpschat
📣 Telegram Channel: https://t.me/inflps_channel
©2025 Sketchub | User Policy