Bug 1203137 - Tabs tray (Grid): Explicitly disable fading edge. r=margaret

On newer devices there's no fading edge but on Gingerbread you can see
an ugly, misplaced fading edge effect.

--HG--
extra : commitid : 16zS0rofxHM
extra : rebase_source : f3bed7e22971204cc8f1697e8adc28fb4ff54635
extra : amend_source : 0d418d43d827bc541f0ce50fc63e455587540c56
This commit is contained in:
Sebastian Kaspari 2015-10-23 17:14:33 +02:00
parent 623600e3a4
commit 8e78389769

View File

@ -87,6 +87,8 @@ class TabsGridLayout extends GridView
// so lets set it manually in code for the moment as it's needed for the padding animation
setClipToPadding(false);
setVerticalFadingEdgeEnabled(false);
final Resources resources = getResources();
columnWidth = resources.getDimensionPixelSize(R.dimen.tab_panel_column_width);