Tag Archives: ui
(Android) Custom view orientation change – restore state.
Here’s one pretty simple way to get your custom view to restore its current state after an orientation change: You can of course put any values in there, for example if you need to restore fields. (quickly plotted code. Haven’t run it, but it should work)
(Android) Prevent config change on orientation change
Add to activity in manifest: