如何在小部件中使用imageswitcher?test.basic.HelloWorldWidget}): android.view.InflateException: Binary XML file line #5: Error inflating class android.widget.ImageSwitcher我的imageswitcher的xml代码是: android:l
但我最近将我的项目升级到了版本8,并由SDK进行了更新,现在我看到在Transition下有一个ImageSwitcher视图。我想用ImageSwitchers替换我的ImageViews。我试着使用这段代码开始,但我不能让它与位图一起工作is.setImageResourceDrawable d = new BitmapDrawable(bmap);
ImageSwitc