I have an imageview as part of my layout with the following setup
Pretty standard stuff. The problem is that it isn't scaling the pic correctly. The image that I am using in the imageview is quite large and I just want it to scale to fit as best as possible on the small screen. With the above code it scales the pic the the size I want but I get massive borders above and below the actual pic.
See the pic I've attached. You can see the pic I want displayed but you can also see the unused space in the imageview above and below it. That unused space stretches about 3 screens worth both up and down. Am I doing something wrong? I've tried all the different scaleTypes and nothing seems to work.