Regarding MapControl<...> in Android: Assigning a new size to the control causes it to lose its layout. When I try to control the size for the purpose of painting a dynamically sized accuracy indicator, it snaps to the upper left corner.
So instead of rebooting the layout parameters, I have it control the size, and then notify the host that the control has changed, so that it executes the layout.
Regarding MapControl<...> in Android: Assigning a new size to the control causes it to lose its layout. When I try to control the size for the purpose of painting a dynamically sized accuracy indicator, it snaps to the upper left corner.
So instead of rebooting the layout parameters, I have it control the size, and then notify the host that the control has changed, so that it executes the layout.