Is there any difference between @null Vs transparent(#00000000)
in my layout I set android:background\"@color/transparent\" but its showing some other
android:background\"@color/transparent\"
Yes, there is.
@null
#00000000
If you will not have a background make it @null it should perform better. To use @null from the code you can try doing:
widget.setBackgroundDrawable(null);