I will introduce how to change stacking order of view as below picture.
Environment : Android Studio 2.2.1, API 19
In the case of Android, remove view from layout and set view to layout again.
Then index is set 0 and view move to back. Index is not set and view move to front.