From b74e9381cb5ffc20c0f3ba505654ff9efe88336f Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Thu, 18 Oct 2012 13:28:53 -0700 Subject: [PATCH] Fixed the extra whitespace in activity on task edit page --- astrid/src/com/todoroo/astrid/activity/TaskEditFragment.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/astrid/src/com/todoroo/astrid/activity/TaskEditFragment.java b/astrid/src/com/todoroo/astrid/activity/TaskEditFragment.java index fa24c52d5..218deb94c 100755 --- a/astrid/src/com/todoroo/astrid/activity/TaskEditFragment.java +++ b/astrid/src/com/todoroo/astrid/activity/TaskEditFragment.java @@ -1315,10 +1315,8 @@ ViewPager.OnPageChangeListener, EditNoteActivity.UpdatesChangedListener { int desiredWidth = MeasureSpec.makeMeasureSpec(view.getWidth(), MeasureSpec.AT_MOST); view.measure(desiredWidth, MeasureSpec.UNSPECIFIED); - height = Math.max(view.getMeasuredHeight(), height); + height = Math.max(view.getMeasuredHeight(), height);; LayoutParams pagerParams = mPager.getLayoutParams(); - if (position == 0 && height < pagerParams.height) - return; if (height > 0 && height != pagerParams.height) { pagerParams.height = height; mPager.setLayoutParams(pagerParams);