Android Question Functions to know "autoscaled views size" before...

LucaMs

Expert
Licensed User
Longtime User
... 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.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…