[Android] res: rename action_bar_layout (cosmetic)
Thomas Guillem
git at videolan.org
Mon Oct 6 10:53:20 CEST 2014
vlc-ports/android | branch: master | Thomas Guillem <thomas.guillem at gmail.com> | Fri Oct 3 17:47:13 2014 +0200| [f7f6f452b5530a91b5e0757fdcfef485a3dfc9f7] | committer: Jean-Baptiste Kempf
res: rename action_bar_layout (cosmetic)
It's only used for Player hence the new name.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=f7f6f452b5530a91b5e0757fdcfef485a3dfc9f7
---
.../res/layout-v17/{action_bar_layout.xml => player_action_bar.xml} | 0
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 2 +-
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/res/layout-v17/action_bar_layout.xml b/vlc-android/res/layout-v17/player_action_bar.xml
similarity index 100%
rename from vlc-android/res/layout-v17/action_bar_layout.xml
rename to vlc-android/res/layout-v17/player_action_bar.xml
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 b1888a4..02be71b 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -303,7 +303,7 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
mActionBar.setDisplayShowTitleEnabled(false);
mActionBar.setBackgroundDrawable(null);
mActionBar.setDisplayShowCustomEnabled(true);
- mActionBar.setCustomView(R.layout.action_bar_layout);
+ mActionBar.setCustomView(R.layout.player_action_bar);
ViewGroup view = (ViewGroup) mActionBar.getCustomView();
/* Dispatch ActionBar touch events to the Activity */
More information about the Android
mailing list