1package com.xtremelabs.robolectric.shadows; 2 3import android.view.ViewGroup; 4import com.xtremelabs.robolectric.internal.Implements; 5import com.xtremelabs.robolectric.internal.RealObject; 6 7@SuppressWarnings({"UnusedDeclaration"}) 8@Implements(ViewGroup.LayoutParams.class) 9public class ShadowLayoutParams { 10 @RealObject private ViewGroup.LayoutParams realLayoutParams; 11 12 public void __constructor__(int w, int h) { 13 realLayoutParams.width = w; 14 realLayoutParams.height = h; 15 } 16} 17