title: what should be the size of Drawer Header Image?
body: <pre><code> public DrawerProfile(Context context) {
          super(context);
          HeaderImageView = new ImageView(context);
          HeaderImageView.setVisibility(VISIBLE);
          HeaderImageView.setScaleType(ImageView.ScaleType.CENTER);
          HeaderImageView.setImageResource(R.mipmap.drawer_background_image);
          addView(HeaderImageView);
  }
  </code></pre>
  
  <p>I want to add an image in Drawer and it should cover the entire area of drawer header. I want to know what should the size of the Image (resolution) be; which will be suitable for every phone with variety of screen resolution. How can I minimize the size of the photo?</p>
  
  <p>Here in this screenshot, The header image is not covering the entire area of Drawer</p>
  
  <p><a href="https://i.stack.imgur.com/kaEbz.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/kaEbz.jpg" alt="enter image description here"></a></p>