Hi all, I have a simple tablelayout with an imageView and textView as children. The textView contains a relatively long text and when I was using it as a child of a LinearLayout, is showed several lines of text. Now as part of the TableLayout it shows only one line and cuts the rest.
Question: How can I make the Textview adjust the size / lines according to the content. All other components should take on the largest height of any of the table rows elements. Must be possible... just don't know how. Thx Sven <TableLayout android:layout_width="match_parent" android:layout_height="match_parent"> <TableRow> <ImageView android:src="@drawable/icon1" android:background="#66FFFFFF" android:scaleType="centerInside" android:padding="10dip" android:layout_width="40dip" android:layout_height="40dip" /> <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android: android:padding="5dp" android:background="#ffcccccc" android:textColor="#ff000000" android:text="@string/largecontent" /> </TableRow> </TableLayout> -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en