开发者

Home screen wallpaper size is way to big in landscape mode

Can you look at my coding and tell me what is missing so my wallpaper is a decent size when the device is in landscape mode?

    buttonSetWallpaper.setOnClickListener(new Button.OnClickListener() {
        @Override
        public void onClick(View arg0) {

            WallpaperManager myWallpaperManager = WallpaperManager
                    .getInstance(getApplicationContext());

            try {
                myWallpaperManager.setResource(R.drawable.kabaday640x4开发者_如何转开发80);
            } catch (IOException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }
        }
    });

Portrait mode shows up just fine but not landscape mode. It seems to be zoomed in too much.

Thanks.

Truly, Emad

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜