I'm having an issue where my textview is wrapping a word when the gravity is set to left. I want it to just display the word without any wrapping.
A visual of what I want:
Currency Balance Held Value
But this is what I'm getting:
C Balance Held Value
u
r
...
Here's my XML:
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/textview1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="left"
android:text="Currency" />
<TextView
android:id="@+id/textview2"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Balance" />
<TextView
android:id="@+id/textview3"
android:layout_width="0dp"
android:layout_weight="1"
android:gravity="center"
android:text="Held"/>
<TextView
android:id="@+id/textview4"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="right"
android:text="Value" />
</TableRow>
Any ideas?