Hello everyone,
I'm making an Android app that has a QRCorde Reader, so I need to add a Scan Zone using a 'jImageView' or 'jImageButton' to help users to 'point camera to the right place'.
I tried many things and combinations of 'PosRelativeToAnchor', etc.. but no success..
So, if someone knows how to do it, I really apreciate any help!
There is a picture of what Im looking for
------- [SOLUTION BELOW] ---------------------------------------------------
I Just followed the structure below:
(Object Inspector)
AndroidModule1
TextView1 (just used to be a anchor reference)
LayoutParamHeight = lpMatchParent
LayoutParamWidth = lpMatchParent
PostRelativeToParent = [rpTop]
ZCamView1
Anchor = TextView1
LayoutParamHeight = lpMatchParent
LayoutParamWidth = lpMatchParent
PostRelativeToAnchor = [raBelow]
PostRelativeToParent = [rpCenterHorizontal]
Panel1
Anchor = TextView1
BackgroundColor = colbrDefault
LayoutParamHeight = lpMatchParent
LayoutParamWidth = lpMatchParent
PostRelativeToAnchor = [raBelow]
PostRelativeToParent = []
ImageView1 (child of Panel1)
ImageScaleType = scaleFitCenter
LayoutParamHeight = lpMatchParent
LayoutParamWidth = lpMatchParent
PostRelativeToParent = [rpCenterInParent]