Appium Multi screen support

I am testing an Android device with two screens, the right screen (main screen) and the left screen (secondary screen). I can test programs running on the right screen normally, but I cannot test programs running on the left screen because the left screen is a secondary screen. org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters.
Can you give me some hints so that Appium can recognize the program running on the secondary screen

Hi, were you able get Appium to detect the second screen? I am automating an app that opens an intermediate screen after I click a button on the first screen, I want to get the size of the intermediate screen. Can you share the code?