[Android] Move AutoFitRecyclerView
Geoffrey Métais
git at videolan.org
Fri Apr 29 15:25:30 CEST 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Apr 29 15:08:05 2016 +0200| [7b242158911b2025d31c1aaa5816aab2f5fa341f] | committer: Geoffrey Métais
Move AutoFitRecyclerView
> https://code.videolan.org/videolan/vlc-android/commit/7b242158911b2025d31c1aaa5816aab2f5fa341f
---
vlc-android/res/layout/fragment_advanced_options.xml | 2 +-
vlc-android/res/layout/video_grid.xml | 2 +-
vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java | 2 +-
vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java | 2 +-
.../src/org/videolan/vlc/{ => gui}/view/AutoFitRecyclerView.java | 4 +---
5 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/vlc-android/res/layout/fragment_advanced_options.xml b/vlc-android/res/layout/fragment_advanced_options.xml
index 83c2bb3..ed1b37d 100644
--- a/vlc-android/res/layout/fragment_advanced_options.xml
+++ b/vlc-android/res/layout/fragment_advanced_options.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<org.videolan.vlc.view.AutoFitRecyclerView xmlns:android="http://schemas.android.com/apk/res/android"
+<org.videolan.vlc.gui.view.AutoFitRecyclerView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="@dimen/adv_options_margin"/>
diff --git a/vlc-android/res/layout/video_grid.xml b/vlc-android/res/layout/video_grid.xml
index f0f29c9..3867c6e 100644
--- a/vlc-android/res/layout/video_grid.xml
+++ b/vlc-android/res/layout/video_grid.xml
@@ -7,7 +7,7 @@
android:id="@+id/swipeLayout"
android:layout_width="match_parent"
android:layout_height="match_parent">
- <org.videolan.vlc.view.AutoFitRecyclerView
+ <org.videolan.vlc.gui.view.AutoFitRecyclerView
android:id="@id/android:list"
android:layout_width="match_parent"
android:layout_height="match_parent"
diff --git a/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java b/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
index d052432..efc8b09 100644
--- a/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
+++ b/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
@@ -60,7 +60,7 @@ import org.videolan.vlc.media.MediaWrapper;
import org.videolan.vlc.util.AndroidDevices;
import org.videolan.vlc.util.Permissions;
import org.videolan.vlc.util.Strings;
-import org.videolan.vlc.view.AutoFitRecyclerView;
+import org.videolan.vlc.gui.view.AutoFitRecyclerView;
import java.util.ArrayList;
import java.util.Calendar;
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
index 7c78641..838f258 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
@@ -66,7 +66,7 @@ import org.videolan.vlc.media.MediaWrapper;
import org.videolan.vlc.media.Thumbnailer;
import org.videolan.vlc.util.FileUtils;
import org.videolan.vlc.util.VLCInstance;
-import org.videolan.vlc.view.AutoFitRecyclerView;
+import org.videolan.vlc.gui.view.AutoFitRecyclerView;
import java.util.ArrayList;
import java.util.List;
diff --git a/vlc-android/src/org/videolan/vlc/view/AutoFitRecyclerView.java b/vlc-android/src/org/videolan/vlc/gui/view/AutoFitRecyclerView.java
similarity index 97%
rename from vlc-android/src/org/videolan/vlc/view/AutoFitRecyclerView.java
rename to vlc-android/src/org/videolan/vlc/gui/view/AutoFitRecyclerView.java
index 1fb2684..6b94156 100644
--- a/vlc-android/src/org/videolan/vlc/view/AutoFitRecyclerView.java
+++ b/vlc-android/src/org/videolan/vlc/gui/view/AutoFitRecyclerView.java
@@ -21,15 +21,13 @@
* ***************************************************************************
*/
-package org.videolan.vlc.view;
+package org.videolan.vlc.gui.view;
import android.content.Context;
import android.content.res.TypedArray;
import android.support.v7.widget.GridLayoutManager;
import android.util.AttributeSet;
-import org.videolan.vlc.gui.view.ContextMenuRecyclerView;
-
public class AutoFitRecyclerView extends ContextMenuRecyclerView {
private GridLayoutManager mGridLayoutManager;
More information about the Android
mailing list