diff --git a/res/layout/draggable_row.xml b/res/layout/draggable_row.xml index 4432f4a4..b8fe4b31 100644 --- a/res/layout/draggable_row.xml +++ b/res/layout/draggable_row.xml @@ -48,16 +48,13 @@ along with this program. If not, see . android:maxLines="2" android:textColor="?android:textColorPrimary" android:gravity="left|center_vertical" - android:layout_width="wrap_content" + android:layout_width="0px" + android:layout_weight="1" android:layout_height="match_parent" android:paddingTop="2dip" android:paddingBottom="2dip" android:paddingLeft="4dip" /> - - + 0) - mTextView.setWidth(pixelFree); - if (redraw == true) - this.invalidate(); - } @Override public boolean isChecked() { @@ -127,7 +92,6 @@ public class DraggableRow extends LinearLayout implements Checkable { if (mShowCheckBox != state) { mCheckBox.setVisibility( state ? View.VISIBLE : View.GONE ); mShowCheckBox = state; - setupTextView(true); } } @@ -140,7 +104,6 @@ public class DraggableRow extends LinearLayout implements Checkable { if (mShowCover != state) { mCoverView.setVisibility( state ? View.VISIBLE : View.GONE ); mShowCover = state; - setupTextView(true); } }