Skip to content
Snippets Groups Projects
Commit c253a4c6 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Set overscan padding to licence and about views

parent f395f877
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
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);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment