Home | History | Annotate | Download | only in shadows
      1 package com.xtremelabs.robolectric.shadows;
      2 
      3 import android.view.ViewGroup;
      4 import com.xtremelabs.robolectric.internal.Implements;
      5 import com.xtremelabs.robolectric.internal.RealObject;
      6 
      7 @SuppressWarnings({"UnusedDeclaration"})
      8 @Implements(ViewGroup.LayoutParams.class)
      9 public 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