mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
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:
parent
623600e3a4
commit
8e78389769
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user