Was counting the padding twice, its included in height already.
Test: visual
Change-Id: I012c6db585eb5fac0d5cee87971d94740c520f07
Fixes:
63647502
}
final int oldHeight = holder.row.getLayoutParams().height;
}
final int oldHeight = holder.row.getLayoutParams().height;
- int measuredRowHeight = holder.measuredRowHeight + holder.row.getPaddingTop()
- + holder.row.getPaddingBottom();
holder.row.getLayoutParams().height = Math.max(1,
holder.row.getLayoutParams().height = Math.max(1,
- (int) (measuredRowHeight * getRowScale(rowPosition)));
+ (int) (holder.measuredRowHeight * getRowScale(rowPosition)));
if (holder.row.getLayoutParams().height != oldHeight) {
holder.row.requestLayout();
}
if (holder.row.getLayoutParams().height != oldHeight) {
holder.row.requestLayout();
}