android 放大镜效果
我想知道小部件是否可以创建一个区域,该区域在用户设置的任何背景上充当放大镜。
提前致谢!
I wonder if it is possible for a Widget to create an area that works as a magnifying glass over whatever background the user has set.
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
另一种解决方案可能是读取图像路径,添加“透明玻璃图像”或效果。保存为新图像并将其设置为新壁纸。
An other solution could be to read the image path, add a "transparent glass image" or effect. Save as new image and set it as new wallpaper.
一般来说,这是不可能的。这意味着您可以读取其他活动的像素,如果可能的话,将有一种方法以编程方式截取手机屏幕截图。
In general, this is not possible. It implies that you can read the pixels of other activities, and if that was possible, there would be a way to take a screenshot of the phone programatically.