Skip to content
RED SAGSkills
easyMobile App Developer interview question

How do you make your app look good on different screen sizes, orientations and font sizes?

What the interviewer wants to hear

  • Use flexible layouts instead of fixed sizes
  • Use density-independent units and scalable text (sp, Dynamic Type)
  • Adapt layouts using window size classes or breakpoints for tablets and foldables
  • Respect safe areas, notches and system bars
  • Test on small, large and rotated screens with large fonts

Model answer

I start with flexible layouts: rows, columns and constraints that fill available space instead of fixed pixel widths. Sizes use dp or points, and text uses sp on Android and Dynamic Type on iOS so it scales with the user font setting, which means layouts must allow text to wrap. For tablets and foldables I use window size classes or breakpoints to switch layouts, for example a list and detail side by side on wide screens. I respect safe areas and insets so content is not hidden behind the notch, home indicator or keyboard. Then I test on a small phone, a large phone, a tablet and landscape, plus the largest font size, using previews in Compose or SwiftUI and real devices for the final check.

Can you answer it under time pressure?

Take a timed easy round and get scored on every answer.

Start mock interview

More easy Mobile App Developer questions