title: Xamarin 9 patch image not scaling properly
body: <p>I am trying to use a 9 patch image as the background for a label.  My image has two rounded corners and I want to keep the rounding radius the same, regardless of any stretching.</p>
  
  <p>I am using a RelativeLayout to position the background image behind the foreground label.  I want to stretch the background image to the height and width of the RelativeLayout.</p>
  
  <pre><code>&lt;RelativeLayout Padding="15"&gt;
      &lt;Image Aspect="Fill" RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width}" RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height}" Source="panel_header" /&gt;
      &lt;Label Margin="15" Text="{ Binding CategoryTitle }" /&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>The image is stretching to fill the width and height of the parent layout in the Android emulator, however, it is not honouring the 9 patch constraints - it is distorting the whole image as it would for a standard image.</p>
  
  <p>My 9 patch images can be found <a href="http://www.flashcardsmate.com/panel_header.9.zip" rel="nofollow noreferrer">here</a>.  Am I missing something?</p>