title: Android ImageView setLayoutParams with width bigger than Screen
body: <p>I have ImageView in layout xml like this: </p>
  
  <pre><code>&lt;ImageView
          android:id="@+id/notePointerImageView"
          android:layout_width="700px"
          android:layout_height="6px"
          android:scaleType="fitXY"
          android:src="@drawable/whiteline"
  
          /&gt;
  </code></pre>
  
  <p>And I dynamically set the width, height, and Margins in onWindowFocusChanged:</p>
  
  <pre><code>RelativeLayout.LayoutParams notePointerLayoutLP = new RelativeLayout.LayoutParams(263, 2); 
          notePointerLayoutLP.setMargins(0, 150, 14, 0);
          notePointerImageView.setLayoutParams(notePointerLayoutLP);
          notePointerImageView.requestLayout();
  </code></pre>
  
  <p>Since the screen width is only 240x301, the imageView has its left part off screen. But looks like that part of imageView is eliminated and the image is resized inside the screen (I used fitXY), and leaving the ImageView size to be 226x2. (226 + 14 == 240, which is the screen width) </p>
  
  <p>Since I have to animate the ImageView later, I cannot accept ImageView to be clipped and resized. I really need a negative left margin. Could somebody tell me how can I do this? Or is it only a simulator problem? </p>