This is not a very important question but neverthless.
While trying to port Tooleap library which makes an Activity into a sidebar. When it does this is shrinks the Activity's contentView. All the views are relative to this, so they all scale accordingly.
While using B4A, when creating a label (in code), I can set it to Activity.Width or 100%x (and gravity to centre), but the label text is not in the centre, of the activity, but it is in the centre of the screen.
Is the B4A Activity contentView positioning everything according to the screen width rather than the activity's contentView?
(I dont even understand this fully, so any hints and tips would be great).
While trying to port Tooleap library which makes an Activity into a sidebar. When it does this is shrinks the Activity's contentView. All the views are relative to this, so they all scale accordingly.
While using B4A, when creating a label (in code), I can set it to Activity.Width or 100%x (and gravity to centre), but the label text is not in the centre, of the activity, but it is in the centre of the screen.
Is the B4A Activity contentView positioning everything according to the screen width rather than the activity's contentView?
(I dont even understand this fully, so any hints and tips would be great).