Hello Group, I was wondering how do you scale a bitmap to look good on any screen size (Using surfaceview and canvas). I already know the canvas width and canvas height. So, what would the calculation be?
Example lets say I have a picture that is 100x100 and the phone size is 1920x1200 (just for the sake of it). Now when displaying that on the phone, it will look small. So, how do i scale that up to be bigger based on the aspect ratio or resolution. Just say the developed phone resolution was 480x854 (so all pics was created after that res). So, if the resolution is smaller i want to scale the bitmap down, and if it is bigger, i want to scale it up. Any feedback is appreciated, thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en