Textview Inside Tablerox Getting Cropped - Any Fixes?
I'm having this issue where my TextView inside a TableRow is getting the bottom of the second line cropped. The only way to solve this that I found was to add margins to the FAV im
Solution 1:
Found the answer. Replace the TableLayout with a LinearLayout:
<LinearLayout
android:id="@+id/link_title_favicon"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:paddingTop="6dp"
android:orientation="horizontal" >
<com.loopj.android.image.SmartImageView
android:id="@+id/expandable_toggle_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/favicon_example2"
android:layout_gravity="center_vertical" />
<TextView
android:id="@+id/linkTitle0001"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_gravity="center_vertical"
android:ellipsize="end"
android:fontFamily="sans-serif-condensed"
android:maxLines="2"
android:paddingLeft="6dp"
android:text="@string/link_title_001"
android:textColor="#777777"
android:textSize="17sp" />
</LinearLayout>
Post a Comment for "Textview Inside Tablerox Getting Cropped - Any Fixes?"