Any idea how I can force the textview to go to a new line once it runs out of space inside the view. The behaviour I want to happen is that without programatically findout out the size and forcing the newline I want it to happen by iteself.
In this code it forces the buttons off the screen.
<TableRow>
<TextView android:layout_width="fill_parent"
android:paddingLeft="5dp" android:paddingRight="5dp"
android:singleLine="false" android:layout_height="wrap_content"
style="@style/heading1" android:gravity="left" android:id="@+id/store_address"></TextView>
<TableLayout android:layout_height="wrap_content"
android:layout_width="wrap_content" android:gravity="right">
<TableRow>
<ImageView android:id="@+id/img_user" android:gravity="right"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:scaleType="fitXY" android:src="@drawable/qrcode"
android:paddingBottom="2dp" />
</TableRow>
<TableRow>
<ImageView android:id="@+id/nfc" android:gravity="right"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:scaleType="fitXY" android:src="@drawable/nfc" />
</TableRow>
</TableLayout>
</TableRow>