I am trying to draw a bitmap to a Canvas on my custom view. The bitmap needs to fill the entire screen. For larger bitmaps, I scale the bitmaps. The problem I am facing is that, while the bitmaps which are exactly the screen size and do not need to be scaled, fill exactly on the screen. But the bitmaps which are scaled, have a padding to the left on the canvas after they are drawn.
I am learning on canvas and bitmap with paths and currently working on a drawing app where user can draw paths freely on the extended view.
The app also allow allowing user to import bitmap as the background and draw on it.