I have an Activity that contains a RecyclerView that is acting unexpectedly when the device is in Landscape. Here are screenshots of Portrait & Landscape (the RecyclerView is the green area):

In portrait, the RecyclerView lets me scroll and uses the expected area as in my xml layout file, but in landscape, it does not let me scroll and uses more area than expected (as you can see, it pushes the other View(s) of the screen). The number of elements in the RecyclerView is more than fit on screen for either orientation, yet only portrait resizes the RecyclerView. I also noticed (by using the Output window) that in portrait, OnBindViewHolder is only called for the visible items (8, which is what I would expect), but in landscape, it is being called for all the elements in the RecyclerView's Adapter (in this case, 11). I override both OnCreate & OnResume with the same code. Why is landscape causing these unexpected problems?