udacity / ud851-Sunshine

Apache License 2.0
2k stars 4.51k forks source link

S12.01: Overlapping parts when orientation changes in detail activity #141

Closed svroye closed 6 years ago

svroye commented 6 years ago

In the details activity, when you change the orientation to landscape, the icon and part of the text of the upper parts is overlapping with the bottom detailed info part.

Proposed solutions:

  1. Use wrap_content for the upper part and let the bottom part take the remaining space.
  2. Create different layouts for portrait and landscape
  3. .. ?
svroye commented 6 years ago

Apparently, this is solved in the following exercise, by using different layouts for portrait and landscape