Skip to content Skip to sidebar Skip to footer

Different Rendering When Using Drawable And Image Resource? Imagebutton - Android

I have something strange in here. I have the very same image being loaded in two different ways: Here is the code: if(imageAddress.startsWith('drawable')){ btn.setIma

Solution 1:

Can you try implementing android:margin_left instead of padding:left ?


Post a Comment for "Different Rendering When Using Drawable And Image Resource? Imagebutton - Android"