Hi to everybody here
In the attached screen-shot you see a Panel "PnlNewName" containing another Panel "PannelloFoto". This latter is the Panel, containing the Camera preview and photo, which is passed to CameraEx Initialization. As shown, I set a background color. When pnlNewName is opened, Camera is not initiliazed. But the PannelloFoto seems "transparent", and shows the image which was under it, when pnlNewName was opened (in this case, when we open pnlNewName, a map was displayed on an underlying Panel.) I have also tried to set the PannelloFoto as BitmapDrawable and put a bitmap on it. The designer shows everything as I want, but, at runtime, any setting relative to the PannelloFoto is ignored. After, when the camera is initialized, everything works well. The only problem is that I cannot show PannelloFoto empty and not transparent (or with an initial Bitmap on it) at the beginning, before cameraex initialization. Just to give a clarifying example of use, imagine that the Panel where the camera preview will appear, before the camera is initialized, could display an icon showing a camera icon. In practice a sort of "hint" on the function of that Panel..
Thanks in advance for any suggestion.
In the attached screen-shot you see a Panel "PnlNewName" containing another Panel "PannelloFoto". This latter is the Panel, containing the Camera preview and photo, which is passed to CameraEx Initialization. As shown, I set a background color. When pnlNewName is opened, Camera is not initiliazed. But the PannelloFoto seems "transparent", and shows the image which was under it, when pnlNewName was opened (in this case, when we open pnlNewName, a map was displayed on an underlying Panel.) I have also tried to set the PannelloFoto as BitmapDrawable and put a bitmap on it. The designer shows everything as I want, but, at runtime, any setting relative to the PannelloFoto is ignored. After, when the camera is initialized, everything works well. The only problem is that I cannot show PannelloFoto empty and not transparent (or with an initial Bitmap on it) at the beginning, before cameraex initialization. Just to give a clarifying example of use, imagine that the Panel where the camera preview will appear, before the camera is initialized, could display an icon showing a camera icon. In practice a sort of "hint" on the function of that Panel..
Thanks in advance for any suggestion.