Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/184.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
Java Android imageView可绘制延迟_Java_Android_Android Imageview - Fatal编程技术网

Java Android imageView可绘制延迟

Java Android imageView可绘制延迟,java,android,android-imageview,Java,Android,Android Imageview,我使用repo为我的android应用程序制作介绍 我在/drawable/文件夹中添加了3张图片 1024x768-123892八位字节-JPG 1024x768-98304八位字节-JPG 1024x1024-585728八位字节-巴布亚新几内亚 但当我用我的片段切换时,这是一个很大的滞后。如果我去掉这张可画的画,那就好了 你能帮我解决这个问题吗 addSlide(AppIntroFragment.newInstance("Welcome!", "This

我使用repo为我的android应用程序制作介绍

我在
/drawable/
文件夹中添加了3张图片

  • 1024x768-123892八位字节-JPG
  • 1024x768-98304八位字节-JPG
  • 1024x1024-585728八位字节-巴布亚新几内亚
  • 但当我用我的片段切换时,这是一个很大的滞后。如果我去掉这张可画的画,那就好了

    你能帮我解决这个问题吗

     addSlide(AppIntroFragment.newInstance("Welcome!",
                    "This is a demo of the AppIntro library.",
                    R.drawable.logov2_intro2,
                    Color.parseColor("#616161")));
    
            addSlide(AppIntroFragment.newInstance("Clean App Intros",
                    "This library offers developers the ability to add clean app intros at the start of their apps.",
                    R.drawable.tuto1_jpg,
                    Color.parseColor("#1565c0")));
    
            addSlide(AppIntroFragment.newInstance("Simple, yet Customizable",
                    "The library offers a lot of customization, while keeping it simple for those that like simple.",
                    R.drawable.tuto2_jpg,
                    Color.parseColor("#1976d2")));
    
            addSlide(AppIntroFragment.newInstance("Explore",
                    "Feel free to explore the rest of the library demo!",
                    R.drawable.logov2_intro2,
                    Color.parseColor("#616161")));
    

    谢谢

    这些图片看起来相当大。你能用更小的图片吗?哦,就是这个。我已经把所有的图片减少了50%,这很好。很抱歉问这个问题:)谢谢:p