Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Ewout ter Hoeven
VLC-Android
Commits
3519e2a6
Commit
3519e2a6
authored
Jan 26, 2018
by
Geoffrey Métais
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hide 'lock' and 'resize' button when casting
parent
dd65488e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
...d/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+6
-3
No files found.
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
View file @
3519e2a6
...
...
@@ -618,8 +618,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
}
public
void
resetHudLayout
()
{
if
(
mHudBinding
==
null
)
return
;
if
(
mHudBinding
==
null
)
return
;
final
RelativeLayout
.
LayoutParams
layoutParams
=
(
RelativeLayout
.
LayoutParams
)
mHudBinding
.
playerOverlayButtons
.
getLayoutParams
();
int
orientation
=
getScreenOrientation
(
100
);
boolean
portrait
=
orientation
==
ActivityInfo
.
SCREEN_ORIENTATION_PORTRAIT
||
...
...
@@ -2793,7 +2792,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
mHudBinding
.
playerOverlayRewind
.
setVisibility
(
show
?
View
.
VISIBLE
:
View
.
INVISIBLE
);
mHudBinding
.
playerOverlayForward
.
setVisibility
(
show
?
View
.
VISIBLE
:
View
.
INVISIBLE
);
}
mHudBinding
.
playerOverlaySize
.
setVisibility
(
show
?
View
.
VISIBLE
:
View
.
INVISIBLE
);
if
(
mDisplayManager
.
isPrimary
())
mHudBinding
.
playerOverlaySize
.
setVisibility
(
show
?
View
.
VISIBLE
:
View
.
INVISIBLE
);
mHudBinding
.
playerOverlayTracks
.
setVisibility
(
show
?
View
.
VISIBLE
:
View
.
INVISIBLE
);
mHudBinding
.
playerOverlayAdvFunction
.
setVisibility
(
show
?
View
.
VISIBLE
:
View
.
INVISIBLE
);
if
(
mHasPlaylist
)
{
...
...
@@ -2840,6 +2839,10 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
updateNavStatus
();
setListeners
(
true
);
initPlaylistUi
();
if
(!
mDisplayManager
.
isPrimary
())
{
mHudBinding
.
lockOverlayButton
.
setVisibility
(
View
.
GONE
);
mHudBinding
.
playerOverlaySize
.
setVisibility
(
View
.
GONE
);
}
}
}
...
...
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