small medium large xlarge

Generic-user-small
21 Apr 2016, 05:13
ted schrey (1 post)

(Android Studio): created the res/layout-land/main file and in my preview it works fine. However, when I actually run the App on my emulator, and flip to landscape, it does not seem to access the file… it remains in the linear layout.

Burnette_ed_pragsmall
12 Jul 2016, 19:53
Ed Burnette (1342 posts)

The most common problems are typos either in the filename or the XML code. Also check to see that you don’t have a more specific version (i.e., you just have res/layout and res/layout-land and not layout-something-else).

You must be logged in to comment