diff options
Diffstat (limited to 'mobile/android/base/java/org/mozilla/gecko/home/SpacingDecoration.java')
-rw-r--r-- | mobile/android/base/java/org/mozilla/gecko/home/SpacingDecoration.java | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/mobile/android/base/java/org/mozilla/gecko/home/SpacingDecoration.java b/mobile/android/base/java/org/mozilla/gecko/home/SpacingDecoration.java deleted file mode 100644 index 039b65e82..000000000 --- a/mobile/android/base/java/org/mozilla/gecko/home/SpacingDecoration.java +++ /dev/null @@ -1,20 +0,0 @@ -package org.mozilla.gecko.home; - -import android.graphics.Rect; -import android.support.v7.widget.RecyclerView; -import android.view.View; - -public class SpacingDecoration extends RecyclerView.ItemDecoration { - private final int horizontalSpacing; - private final int verticalSpacing; - - public SpacingDecoration(int horizontalSpacing, int verticalSpacing) { - this.horizontalSpacing = horizontalSpacing; - this.verticalSpacing = verticalSpacing; - } - - @Override - public void getItemOffsets(Rect outRect, View view, RecyclerView parent, RecyclerView.State state) { - outRect.set(horizontalSpacing, verticalSpacing, horizontalSpacing, verticalSpacing); - } -} |