我的主屏幕上有一个小部件,其中有几个具有默认背景图像的ImageButton.通过配置活动,我可以更改任何ImageButton上的图像.问题是,当屏幕旋转时,ImageButton上的图像会消失,然后会变回默认图像.
我不知道为什么会发生这种情况或如何解决它
android background widget rotation imagebutton
android ×1
background ×1
imagebutton ×1
rotation ×1
widget ×1