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.
我想在动态壁纸中创建谷歌地图。要创建 mapview xml 文件,需要初始化布局。但是我从前面的讨论中知道,没有办法在墙纸服务中调用 xml 文件。如果有人了解此主题,请告诉我,如果有其他方法可以解决它,请帮助我。
您不需要在 wallpaperservice xml 文件中定义它。
如果你有一个surfaceView/GlsurfaceView,你只需要在你的视图中膨胀布局
壁纸服务只为您提供服务,因为它是一项服务,您不能使用布局..