summaryrefslogtreecommitdiffstats
path: root/tests/GridLayoutTest/src/com/android/test/layout/Activity2.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GridLayoutTest/src/com/android/test/layout/Activity2.java')
-rw-r--r--tests/GridLayoutTest/src/com/android/test/layout/Activity2.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/GridLayoutTest/src/com/android/test/layout/Activity2.java b/tests/GridLayoutTest/src/com/android/test/layout/Activity2.java
index cba98c2..b9bf526 100644
--- a/tests/GridLayoutTest/src/com/android/test/layout/Activity2.java
+++ b/tests/GridLayoutTest/src/com/android/test/layout/Activity2.java
@@ -97,8 +97,8 @@ public class Activity2 extends Activity {
Space v = new Space(context);
{
LayoutParams lp = new LayoutParams(row5, col3);
- lp.widthSpec = CAN_STRETCH;
- lp.heightSpec = CAN_STRETCH;
+ lp.columnGroup.flexibility = CAN_STRETCH;
+ lp.rowGroup.flexibility = CAN_STRETCH;
vg.addView(v, lp);
}
}