ImageView shows in Designer, but not in actual app

MrRey

Member
Licensed User
Longtime User
I added my views, including an ImageView, while in Designer. When I connect to my device (Huawei U8800-51, aka Impulse), it shows the bitmap in the ImageView fine. However, when I compile and run, it does not show the bitmap.

I checked, and the PNG is in the Files folder. I created a JPEG to test it, and again, same results.

I decided to try to add the bitmap to my code, using both LoadBitmap2 and Erel's CreateScaledBitmap (not in the same code, different times). I got no error messages from the compiler or from my device when it ran. Each attempt yielded the same results. I created a bitmap at exactly the same size as my layout (in this case, 320x480), and still it didn't show the imageview when it ran.

Does anyone know what could be the culprit?
 

MrRey

Member
Licensed User
Longtime User
Klaus, thanks for replying so quickly. :)

Never mind, I'm an idiot. I didn't realize I had chosen "Visible: False" in Designer.
:signOops:

On the up side, the online community has proven itself to be very helpful!
 
Upvote 0
Top