Android: Content goes off screen
Posted
by James
on Stack Overflow
See other posts from Stack Overflow
or by James
Published on 2010-06-15T01:25:20Z
Indexed on
2010/06/15
1:32 UTC
Read the original article
Hit count: 335
android
He is an example of my TextView, which goes off the right side of the screen. I tried setting paddings and stuff, but nothing seemed to work. Any ideas? Here is my hierarchy, ScrollView,TableLayout
<TableRow>
<TextView
android:layout_column="1"
android:id="@+id/text_price"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="textCapCharacters"
android:padding="2dip"
android:text="@string/game_price"
/>
<EditText
android:id="@+id/gameprice"
android:inputType="textCapCharacters"
android:gravity="right"
android:minWidth="120dip"
/>
</TableRow>
© Stack Overflow or respective owner