Moving views with addView

Does it right using of addView if I want to move view (do not recreate) inside toolbar?
I am just getting this button index and exec toolbar.addView(button, index +/- 1).

Hello @russell

Yes, this is a valid usage of this method.
However, this feature is undocumented, and we will definitely add it to the API reference. Thank you for pointing this out!

1 Like