E edgar_ortiz Active Member Licensed User Longtime User Nov 30, 2019 #1 Hi to all, I have a WebView, where I show an image (parameter). The problem is that there are images that are smaller than the WebView and there are other images that are larger. How can I "fill" the WebView? regardless of image size Regards, Edgar
Hi to all, I have a WebView, where I show an image (parameter). The problem is that there are images that are smaller than the WebView and there are other images that are larger. How can I "fill" the WebView? regardless of image size Regards, Edgar
E edgar_ortiz Active Member Licensed User Longtime User Nov 30, 2019 #2 Solved: - Create a new "temp" image file according to the webview size - Resize the image using https://www.b4x.com/android/forum/threads/b4x-xui-fill-and-fit-images-without-distortion.86627/ - Show the new image (now is larger) using https://www.b4x.com/android/forum/threads/b4x-use-webview-to-show-large-images.102910/ Upvote 0
Solved: - Create a new "temp" image file according to the webview size - Resize the image using https://www.b4x.com/android/forum/threads/b4x-xui-fill-and-fit-images-without-distortion.86627/ - Show the new image (now is larger) using https://www.b4x.com/android/forum/threads/b4x-use-webview-to-show-large-images.102910/