When you open Notepad, the first screen is blank and then when you scroll down the layout is broke

(Samsung Galaxy s9)