If you want to edit a text box in Google Docs on Android or iOS mobile devices or in Google Docs on the web, insert a table. The app offers the ability to edit the contents of a table on any device.
To the right of Rows, tap the down arrow to reduce the number of rows to 1.