background tint android studio code example
Example 1: how to make background image transparent in android studio
android:backgroundTint="#80FFFFFF"
android:backgroundTintMode="src_over"
>>for setting background as transparent in android studio(only bg)
android:alpha="0.4"
>>for all views
Example 2: android studio setbackground
RelativeLayout layout =(RelativeLayout)findViewById(R.id.background);
layout.setBackgroundResource(R.drawable.ready);