A UI component in my app has a minor but nasty visual glitch. The glitch goes away completely if I rotate the device to landscape and back to portrait. So, maybe there is an easy way to reproduce such full refresh of the whole scene programmatically, without forcing the user to manipulate the device and with minimal visual effect?
The component is written in C# (Xamarin), if that happens to matter, and I don't have access to its code to fix the bug there.