LucaMs Expert Licensed User Longtime User Jun 15, 2016 #1 ... before the end of Activity_Create. I need some data (width and height) at runtime, in Activity_Create (i.e. to duplicate autoscaled views at runtime). I could do it in Activity_Resume, using global variables, etc., but if I had functions like: AutoscaledWidth(MyView) AutoscaledHeight(MyView) it would be easiest.
... before the end of Activity_Create. I need some data (width and height) at runtime, in Activity_Create (i.e. to duplicate autoscaled views at runtime). I could do it in Activity_Resume, using global variables, etc., but if I had functions like: AutoscaledWidth(MyView) AutoscaledHeight(MyView) it would be easiest.
Erel B4X founder Staff member Licensed User Longtime User Jun 16, 2016 #2 The actual size of the views is available after the call to LoadLayout. Upvote 0
LucaMs Expert Licensed User Longtime User Jun 16, 2016 #3 Erel said: The actual size of the views is available after the call to LoadLayout. Click to expand... Really? Damn, incredible . Sorry. Upvote 0
Erel said: The actual size of the views is available after the call to LoadLayout. Click to expand... Really? Damn, incredible . Sorry.
LucaMs Expert Licensed User Longtime User Jun 16, 2016 #4 What can I say? My question deserves... Upvote 0