title: Need to set Imageview same in all device in android using FancyCoverflow
body: <p>I am working on fancy coverflow. Now as the code shown below</p>
  
  <pre><code> public View getCoverFlowItem(int i, View reuseableView, ViewGroup viewGroup) {
      ImageView imageView = null;
  
    /*  Display display = viewGroup.getDisplay();
      Point size = new Point();
      display.getSize(size);
      int  width = size.x;
      int  height = size.y;*/
  
      if (reuseableView != null) {
          imageView = (ImageView) reuseableView;
      } else {
          imageView = new ImageView(viewGroup.getContext());
          imageView.setScaleType(ImageView.ScaleType.CENTER_INSIDE);
          imageView.setLayoutParams(new FancyCoverFlow.LayoutParams(300,400));
  
  
      }
  
      imageView.setImageResource(this.getItem(i));
      return imageView;
  }
  </code></pre>
  
  <p>the layout param which are being passed are static integers.which obviously put Image view at different position in different device. Is there any idea to use like match parent or applying gravity upon it programatically.</p>