summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2010-01-08 15:07:00 -0800
committerRomain Guy <romainguy@android.com>2010-01-08 15:11:52 -0800
commit8f19cdd62f6e2be05e3890916eabd11317ae1bc2 (patch)
treec46060e1f7e6cefeff2ef05df3a2d83819edb37a /src/com/android/launcher2
parent677298ac895933c4276a84466684418fa3bec2ba (diff)
downloadandroid_packages_apps_Trebuchet-8f19cdd62f6e2be05e3890916eabd11317ae1bc2.tar.gz
android_packages_apps_Trebuchet-8f19cdd62f6e2be05e3890916eabd11317ae1bc2.tar.bz2
android_packages_apps_Trebuchet-8f19cdd62f6e2be05e3890916eabd11317ae1bc2.zip
Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
Diffstat (limited to 'src/com/android/launcher2')
-rw-r--r--src/com/android/launcher2/CellLayout.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher2/CellLayout.java b/src/com/android/launcher2/CellLayout.java
index 6970875ef..df8ca8958 100644
--- a/src/com/android/launcher2/CellLayout.java
+++ b/src/com/android/launcher2/CellLayout.java
@@ -901,7 +901,7 @@ out: for (int i = x; i < x + spanX - 1 && x < xCount; i++) {
}
public LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) {
- super(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT);
+ super(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT);
this.cellX = cellX;
this.cellY = cellY;
this.cellHSpan = cellHSpan;