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
c253a4c6
Commit
c253a4c6
authored
May 27, 2016
by
Geoffrey Métais
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set overscan padding to licence and about views
parent
f395f877
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
vlc-android/src/org/videolan/vlc/gui/tv/AboutActivity.java
vlc-android/src/org/videolan/vlc/gui/tv/AboutActivity.java
+1
-0
vlc-android/src/org/videolan/vlc/gui/tv/LicenceActivity.java
vlc-android/src/org/videolan/vlc/gui/tv/LicenceActivity.java
+4
-0
No files found.
vlc-android/src/org/videolan/vlc/gui/tv/AboutActivity.java
View file @
c253a4c6
...
...
@@ -12,5 +12,6 @@ public class AboutActivity extends Activity {
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
about_main
);
UiTools
.
fillAboutView
(
getWindow
().
getDecorView
().
getRootView
());
TvUtil
.
applyOverscanMargin
(
this
);
}
}
vlc-android/src/org/videolan/vlc/gui/tv/LicenceActivity.java
View file @
c253a4c6
package
org.videolan.vlc.gui.tv
;
import
android.app.Activity
;
import
android.graphics.Color
;
import
android.os.Bundle
;
import
android.view.View
;
import
android.webkit.WebView
;
import
org.videolan.vlc.R
;
...
...
@@ -16,5 +18,7 @@ public class LicenceActivity extends Activity {
WebView
licence
=
new
WebView
(
this
);
licence
.
loadData
(
Util
.
readAsset
(
"licence.htm"
,
""
).
replace
(
"!COMMITID!"
,
revision
),
"text/html"
,
"UTF8"
);
setContentView
(
licence
);
((
View
)
licence
.
getParent
()).
setBackgroundColor
(
Color
.
LTGRAY
);
TvUtil
.
applyOverscanMargin
(
this
);
}
}
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