hi, someone would guide me on the right path with the following.
B4X:
ImageView1.Bitmap = LoadBitmap (Dir, FileName)
I want to adjust the image to a miniature (panel or imageview) in WhatsApp and click on it to expand the image to its real size in a popup on the first screen.
Note that LoadBitmapSample returns an image that its size is equal or larger than the specified size. You can use LoadBitmapSample with a small ImageView and set the gravity to FILL.