changr image opazity xml code example
Example: 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