Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/230.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android Gif图像在nexus one设备中不工作_Android_Animated Gif - Fatal编程技术网

Android Gif图像在nexus one设备中不工作

Android Gif图像在nexus one设备中不工作,android,animated-gif,Android,Animated Gif,我在应用程序中使用gif图像。它在nexus one设备中不工作 View view = getLayoutInflater().inflate(layout, null); ImageView imageView = (ImageView view.findViewById(R.id.img_view_id); GifAnimationDrawable big = new GifAnimationDrawable(getResources().openR

我在应用程序中使用gif图像。它在nexus one设备中不工作

View view = getLayoutInflater().inflate(layout, null);
                    ImageView imageView = (ImageView view.findViewById(R.id.img_view_id);
GifAnimationDrawable big = new GifAnimationDrawable(getResources().openRawResource(R.raw.flights_loading_loader));

big.setOneShot(false);
imageView.setImageDrawable(big);
big.setVisible(true, true);
mProgressDialog.setContentView(view);

请完整准确地解释它不工作的含义。我在android警报对话框视图中定制了gif闪烁图像。我在com.travel.animationdrawable.GifAnimationDrawable big=new com.travel.animationdrawable.GifAnimationDrawablegetResources.openRawResourceR.raw.flights\u loading\u loader;但是NexusOne设备中没有闪烁。NexusOne?2015年有人真的在使用这个设备?