0

I am creating a navigation drawer for my application just like the Google Playstore application. According to material design guidelines the image at the top should be in the ratio of 16:9 material design navigation drawer dimensions. I used a 16:9 image but layout is not stable across different screen sizes and in landscape mode. How do i do this in xml.

harsh_v
  • 3,081
  • 3
  • 30
  • 48

1 Answers1

0
android:adjustViewBounds="true"

to your imageView

Look this about images scale

Community
  • 1
  • 1
Kirill Shalnov
  • 2,188
  • 1
  • 18
  • 21