[Android] Consistent imports
Jean-Baptiste Kempf
git at videolan.org
Thu Jun 21 11:07:32 CEST 2012
android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jun 21 13:06:42 2012 +0200| [4f0b023cf71bf4441538f9168a56aaebe149798b] | committer: Jean-Baptiste Kempf
Consistent imports
> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=4f0b023cf71bf4441538f9168a56aaebe149798b
---
.../src/org/videolan/vlc/gui/MainActivity.java | 20 ++++++++------------
.../vlc/gui/audio/AudioBrowserActivity.java | 6 +++---
.../videolan/vlc/gui/audio/AudioListActivity.java | 4 ++--
.../videolan/vlc/gui/video/VideoListActivity.java | 10 +++++-----
4 files changed, 18 insertions(+), 22 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index a19b301..f74b266 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -35,11 +35,6 @@ import org.videolan.vlc.gui.video.VideoPlayerActivity;
import org.videolan.vlc.interfaces.ISortable;
import org.videolan.vlc.widget.AudioMiniPlayer;
-import com.actionbarsherlock.app.ActionBar;
-import com.actionbarsherlock.app.ActionBar.Tab;
-import com.actionbarsherlock.app.SherlockFragmentActivity;
-
-import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.ProgressDialog;
@@ -57,21 +52,22 @@ import android.preference.PreferenceManager;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.util.Log;
-import com.actionbarsherlock.view.Menu;
-import com.actionbarsherlock.view.MenuInflater;
-import com.actionbarsherlock.view.MenuItem;
-import com.actionbarsherlock.view.Window;
-
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.EditText;
-import android.widget.ImageButton;
import android.widget.ProgressBar;
-import android.widget.TabHost;
import android.widget.TextView;
+import com.actionbarsherlock.app.ActionBar;
+import com.actionbarsherlock.app.ActionBar.Tab;
+import com.actionbarsherlock.app.SherlockFragmentActivity;
+import com.actionbarsherlock.view.Menu;
+import com.actionbarsherlock.view.MenuInflater;
+import com.actionbarsherlock.view.MenuItem;
+import com.actionbarsherlock.view.Window;
+
public class MainActivity extends SherlockFragmentActivity {
public final static String TAG = "VLC/MainActivity";
diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserActivity.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserActivity.java
index 30705c9..37dbc47 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserActivity.java
@@ -35,8 +35,6 @@ import org.videolan.vlc.interfaces.ISortable;
import org.videolan.vlc.widget.FlingViewGroup;
import org.videolan.vlc.widget.FlingViewGroup.ViewSwitchListener;
-import com.actionbarsherlock.app.SherlockFragment;
-
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
@@ -50,8 +48,8 @@ import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
-import android.view.ViewGroup;
import android.view.View.OnCreateContextMenuListener;
+import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.AdapterView.AdapterContextMenuInfo;
import android.widget.AdapterView.OnItemClickListener;
@@ -64,6 +62,8 @@ import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.TextView;
+import com.actionbarsherlock.app.SherlockFragment;
+
public class AudioBrowserActivity extends SherlockFragment implements ISortable {
public final static String TAG = "VLC/AudioBrowserActivity";
diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioListActivity.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioListActivity.java
index 4022e04..0d3073f 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioListActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioListActivity.java
@@ -29,8 +29,6 @@ import org.videolan.vlc.Media;
import org.videolan.vlc.MediaLibrary;
import org.videolan.vlc.R;
-import com.actionbarsherlock.app.SherlockListActivity;
-
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
@@ -45,6 +43,8 @@ import android.widget.AdapterView.AdapterContextMenuInfo;
import android.widget.ListView;
import android.widget.TextView;
+import com.actionbarsherlock.app.SherlockListActivity;
+
public class AudioListActivity extends SherlockListActivity {
public final static String TAG = "VLC/AudioListActivity";
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoListActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoListActivity.java
index 42bdbdc..65cafa5 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoListActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoListActivity.java
@@ -43,17 +43,17 @@ import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
-import android.view.LayoutInflater;
-import android.view.View;
-import android.view.ViewGroup;
-import android.widget.LinearLayout;
-import android.widget.ListView;
import android.view.ContextMenu;
import android.view.ContextMenu.ContextMenuInfo;
+import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
+import android.view.View;
import android.view.View.OnCreateContextMenuListener;
+import android.view.ViewGroup;
import android.widget.AdapterView.AdapterContextMenuInfo;
+import android.widget.LinearLayout;
+import android.widget.ListView;
import com.actionbarsherlock.app.SherlockListFragment;
More information about the Android
mailing list