I can set ImageButton background transparent in layout.xml using:
layout.xml
android:background=\"@android:color/transparent\"
How I can
This is the simple only you have to set background color as transparent
ImageButton btn=(ImageButton)findViewById(R.id.ImageButton01); btn.setBackgroundColor(Color.TRANSPARENT);