Android TextView break line -


how can make textview break line behaviour in layout ?. please see image

enter image description here

use following code.

    <?xml version="1.0" encoding="utf-8"?>  <linearlayout xmlns:android="http://schemas.android.com/apk/res/android"    android:layout_width="fill_parent"    android:layout_height="fill_parent"    android:orientation="horizontal"    android:weightsum="1" > <edittext     android:id="@+id/text"     android:layout_width="fill_parent"     android:layout_height="wrap_content"     android:layout_weight="0.5"     android:gravity="center"     android:text="text" /> <edittext     android:id="@+id/rtext"     android:layout_width="fill_parent"     android:layout_height="wrap_content"     android:layout_weight="0.5"     android:gravity="center"     android:text="text" />  </linearlayout> 

Comments