diff options
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java b/src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java index f63d5a0..a8c91be 100644 --- a/src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java +++ b/src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java @@ -161,12 +161,12 @@ public class LiveWallpaperPreview extends Activity { Window window = mDialog.getWindow(); WindowManager.LayoutParams lp = window.getAttributes(); - lp.width = WindowManager.LayoutParams.FILL_PARENT; - lp.height = WindowManager.LayoutParams.FILL_PARENT; + lp.width = WindowManager.LayoutParams.MATCH_PARENT; + lp.height = WindowManager.LayoutParams.MATCH_PARENT; window.setType(WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA); mDialog.setContentView(content, new ViewGroup.LayoutParams( - ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT + ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT )); mDialog.show(); } |