[Android] Remove dividers in browsers

Geoffrey Métais git at videolan.org
Wed Apr 20 10:20:06 CEST 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Apr 20 10:15:33 2016 +0200| [74a9c8d04eb01beb18ecf3f7185f412d09f5483b] | committer: Geoffrey Métais

Remove dividers in browsers

> https://code.videolan.org/videolan/vlc-android/commit/74a9c8d04eb01beb18ecf3f7185f412d09f5483b
---

 vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java | 2 --
 1 file changed, 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
index a492600..5b69e3d 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
@@ -55,7 +55,6 @@ import org.videolan.vlc.gui.SecondaryActivity;
 import org.videolan.vlc.gui.dialogs.SavePlaylistDialog;
 import org.videolan.vlc.gui.helpers.UiTools;
 import org.videolan.vlc.gui.view.ContextMenuRecyclerView;
-import org.videolan.vlc.gui.view.DividerItemDecoration;
 import org.videolan.vlc.gui.view.SwipeRefreshLayout;
 import org.videolan.vlc.interfaces.IRefreshable;
 import org.videolan.vlc.media.MediaDatabase;
@@ -141,7 +140,6 @@ public abstract class BaseBrowserFragment extends MediaBrowserFragment implement
         mEmptyView = (TextView) v.findViewById(android.R.id.empty);
         mFAB = (FloatingActionButton) v.findViewById(R.id.fab_add_custom_dir);
         mLayoutManager = new LinearLayoutManager(getActivity());
-        mRecyclerView.addItemDecoration(new DividerItemDecoration(VLCApplication.getAppContext(), DividerItemDecoration.VERTICAL_LIST));
         mRecyclerView.setLayoutManager(mLayoutManager);
         mRecyclerView.setAdapter(mAdapter);
         mRecyclerView.addOnScrollListener(mScrollListener);



More information about the Android mailing list