How to switch to one layout to another layout in mobile

When I am trying to tap on a button it displays the error message as follows

Is there any option to switch to one layout another layout on mobile or not. If two layouts are binding then how to click on another layout button by using the groovy script