Building a full screen text view

20 September 2020

Building anything of high quality is hard. Software engineering is hard.

The best products have a certain degree of magic that just works without the consumer not noticing the work behind it.

Unfortunately sometimes seemingly trivial problems also have gnarly complicated solutions. We ran into one of these while implementing Bardun.

We have a full screen text view in the Note editor. However in the first few implementations of the screen, the keyboard would cover the bottom half of the text view. Any user input would be hidden behind the keyboard!

A proper text view has the bounds as shown below.

We’ve created a sample project that shows this solution on Github