Free Android Tutorials, Android Tips, Android Developments, Free Android Codings., Free Android App Examples, Open Source Code for Android
Resources res = getResources(); Drawable drawable = res.getDrawable(R.drawable.newImage); LinearLayout linearLayout = (LinearLayout)findViewById(R.id.GameLayout); linearLayout.setBackgroundDrawable(drawable);
No comments:
Post a Comment