InputStream is = getAssets().open("odin/game_splash.png");
Options opts = new Options();
opts.inPreferredConfig = Config.RGB_565;
Bitmap bitmap = BitmapFactory.decodeStream(is, null, opts);
frameLayout.setBackgroundDrawable(new BitmapDrawable(bitmap));
Options opts = new Options();
opts.inPreferredConfig = Config.RGB_565;
Bitmap bitmap = BitmapFactory.decodeStream(is, null, opts);
frameLayout.setBackgroundDrawable(new BitmapDrawable(bitmap));