Fix clipping in SearchResultBigIconRow
Remove the compound drawable padding being set in bubbleTextView because this causes the clipping. This was originally set here horizontal layout, instead will set the correct compound drawable padding on the horizontal container itself specifically (in another CL) so it doesn't affect other views/layoutTypes that uses SearchResultBigIconRow bug: 274723319 test: Manual - before: https://screenshot.googleplex.com/C2G6UXRMUkCJsAk after: https://screenshot.googleplex.com/9R85bzfuiRiALqw Change-Id: Ifee3016663225bc922fce602a52ab9f0534d1ef9
This commit is contained in:
1 parent
d1cab0e379
commit
f50106c322
1 file changed
-1
@@ -220,7 +220,6 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
|
||||
defaultIconSize = grid.folderChildIconSizePx;
|
||||
} else if (mDisplay == DISPLAY_SEARCH_RESULT) {
|
||||
setTextSize(TypedValue.COMPLEX_UNIT_PX, grid.allAppsIconTextSizePx);
|
||||
setCompoundDrawablePadding(grid.allAppsIconDrawablePaddingPx);
|
||||
defaultIconSize = getResources().getDimensionPixelSize(R.dimen.search_row_icon_size);
|
||||
} else if (mDisplay == DISPLAY_SEARCH_RESULT_SMALL) {
|
||||
defaultIconSize = getResources().getDimensionPixelSize(
|
||||
|
||||
Reference in new issue
Block a user