My application has layout-land/basic.xml
and layout-port/basic.xml
files. Why do I need one in layout/
?
Is there something I can do to make Android Studio not complain here?
CodePudding user response:
Resources are an override system. You generally wouldn't put one in layout-land and one in layout-port. Generally you put one or the other in the base directory, then do one of the two layout-orientation folders as an override.