Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Casanowow Life for love
VLC-Android
Commits
c034fc3a
Commit
c034fc3a
authored
Jun 24, 2012
by
Sébastien Toque
Browse files
init browse MenuItem properly
parent
cc7729f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
vlc-android/src/org/videolan/vlc/gui/MainActivity.java
View file @
c034fc3a
...
...
@@ -220,6 +220,8 @@ public class MainActivity extends SherlockFragmentActivity {
public
boolean
onCreateOptionsMenu
(
Menu
menu
)
{
MenuInflater
inflater
=
getSupportMenuInflater
();
inflater
.
inflate
(
R
.
menu
.
media_library
,
menu
);
MenuItem
browse
=
menu
.
findItem
(
R
.
id
.
ml_menu_browse
);
browse
.
setTitle
(
mMediaLibraryActive
?
R
.
string
.
directories
:
R
.
string
.
media_library
);
return
super
.
onCreateOptionsMenu
(
menu
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment