I am wondering how to have a TextView display its content on several lines without hardcoding the width in the XML.
TextView
You could try
android:inputType="textMultiLine"
in your TextView XML. This worked for me.