[Android] Video Player : Remove unused loading message

Alexandre Perraud git at videolan.org
Tue Jun 16 17:39:58 CEST 2015


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Tue Jun 16 15:53:28 2015 +0200| [a0a6739ff5825d220f4dea85c152f60eae62eea7] | committer: Alexandre Perraud

Video Player : Remove unused loading message

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=a0a6739ff5825d220f4dea85c152f60eae62eea7
---

 vlc-android/res/layout/player.xml                              |    8 --------
 vlc-android/res/layout/player_remote_control.xml               |    8 --------
 .../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java    |    4 ----
 3 files changed, 20 deletions(-)

diff --git a/vlc-android/res/layout/player.xml b/vlc-android/res/layout/player.xml
index 4c355c1..e7fa406 100644
--- a/vlc-android/res/layout/player.xml
+++ b/vlc-android/res/layout/player.xml
@@ -56,14 +56,6 @@
             android:layout_centerInParent="true"
             android:src="@drawable/ic_cone_o" />
 
-        <TextView
-            android:id="@+id/player_overlay_loading_text"
-            android:layout_width="wrap_content"
-            android:layout_height="wrap_content"
-            android:layout_above="@+id/player_overlay_info"
-            android:layout_centerHorizontal="true"
-            android:textAppearance="@style/TextAppearance.AppCompat.SearchResult.Title" />
-
         <LinearLayout
             android:id="@+id/player_overlay_info"
             android:layout_width="wrap_content"
diff --git a/vlc-android/res/layout/player_remote_control.xml b/vlc-android/res/layout/player_remote_control.xml
index d51e02b..78345bc 100644
--- a/vlc-android/res/layout/player_remote_control.xml
+++ b/vlc-android/res/layout/player_remote_control.xml
@@ -71,14 +71,6 @@
                 android:src="@drawable/ic_cone_o"
                 android:top="40dp" />
 
-            <TextView
-                android:id="@+id/player_overlay_loading_text"
-                android:layout_width="wrap_content"
-                android:layout_height="wrap_content"
-                android:layout_below="@+id/player_overlay_loading"
-                android:layout_centerHorizontal="true"
-                android:text="@string/please_wait"
-                android:textSize="20sp" />
         </RelativeLayout>
 
         <ImageView
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index 9e1ef1d..c764f30 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -217,7 +217,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVideoPlay
     private View mVerticalBar;
     private View mVerticalBarProgress;
     private ImageView mLoading;
-    private TextView mLoadingText;
     private ImageView mTipsBackground;
     private ImageView mPlayPause;
     private ImageView mTracks;
@@ -467,7 +466,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVideoPlay
 
         /* Loading view */
         mLoading = (ImageView) findViewById(R.id.player_overlay_loading);
-        mLoadingText = (TextView) findViewById(R.id.player_overlay_loading_text);
         if (mPresentation != null)
             mTipsBackground = (ImageView) findViewById(R.id.player_remote_tips_background);
         startLoadingAnimation();
@@ -3098,7 +3096,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVideoPlay
         rotate.setRepeatCount(RotateAnimation.INFINITE);
         anim.addAnimation(rotate);
         mLoading.startAnimation(anim);
-        mLoadingText.setVisibility(View.VISIBLE);
     }
 
     /**
@@ -3107,7 +3104,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVideoPlay
     private void stopLoadingAnimation() {
         mLoading.setVisibility(View.INVISIBLE);
         mLoading.clearAnimation();
-        mLoadingText.setVisibility(View.GONE);
         if (mPresentation != null) {
             mTipsBackground.setVisibility(View.VISIBLE);
         }



More information about the Android mailing list