title: Top and bottom offset in image button not getting updated
body: <p>I am creating a dynamic image button control. Below is my code.</p>
  
  <pre><code>           var deleteButton = new ImageButton(context);
             deleteButton.SetImageResource(Resource.Drawable.Delete); 
             deleteButton.SetPadding(0, 0, 0, 0);
             deleteButton.OffsetTopAndBottom(-5);
             deleteButton.Layout(0, 0, 16, 16);
             deleteButton.SetMaxHeight(16); 
             //deleteButton.LayoutParameters.Height = 16; 
             inner.AddView(deleteButton);
  </code></pre>
  
  <p>None of the following make the image button size as image size. </p>
  
  <pre><code>Offsettopandbottom 
  Setmaxheight 
  layout (l,t,r,b)
  </code></pre>
  
  <p>Please refer attached image that I am using and the screen shot of the button output. The button is rectangular. It has top and bottom offset. How can I remove those. Please help.</p>
  
  <p>Delete Image (16x16) - 
  <img src="https://i.stack.imgur.com/pCX64.png" alt="Delete image"></p>
  
  <p>Screen Shot -
  <img src="https://i.stack.imgur.com/DWIP6.png" alt="Screen shot"></p>