Android Change Background Drawable Programmatically Code Example


Example: android studio setbackground

RelativeLayout layout =(RelativeLayout)findViewById(R.id.background); layout.setBackgroundResource(R.drawable.ready);

Comments