summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2010-01-08 15:07:21 -0800
committerRomain Guy <romainguy@android.com>2010-01-08 15:12:05 -0800
commita7c785cf1150588ed531da4b81fb6f9a50c8ac26 (patch)
tree4c63a8ba5580ebecac047af98bafdb4e38eef848 /src
parente5312bfd596a2803f3ab57d51f95654019c23e06 (diff)
downloadandroid_packages_wallpapers_LivePicker-a7c785cf1150588ed531da4b81fb6f9a50c8ac26.zip
android_packages_wallpapers_LivePicker-a7c785cf1150588ed531da4b81fb6f9a50c8ac26.tar.gz
android_packages_wallpapers_LivePicker-a7c785cf1150588ed531da4b81fb6f9a50c8ac26.tar.bz2
Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
Diffstat (limited to 'src')
-rw-r--r--src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java6
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();
}