Android: Drawable not showing up

前端 未结 7 1697
鱼传尺愫
鱼传尺愫 2021-02-06 03:46

I have a fairly simple xml file that has an image button in it. The image shows up fine on the Graphical Layout xml designer, shows up fine when I run a development build, but a

7条回答
  •  被撕碎了的回忆
    2021-02-06 04:14

    Well ! in my case setting MinifyEnabled false and shrinkResources false is working fine now.

    i was getting image from drawable. it was working pretty nice in debug version but after release version of apk it was showing sometime blank ImageView.

    minifyEnabled false shrinkResources true

    **

    See the Screenshots

    **

    Hope this may help anyone.

提交回复
热议问题