Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在另一个视图(如按钮)上绘制图像并且仍然让视图正常工作?即使上面有另一个图像,用户仍然可以单击该按钮。我想在我的布局上绘制一些主要是透明的 png 来获得照明效果,但我想确保一切仍然正常工作。
尝试在您的应用程序中的小部件顶部使用RelativeLayouta ImageView。请参阅此问题以获取快速示例。
RelativeLayout
ImageView