File tree 3 files changed +11
-1
lines changed
java/org/grapheneos/pdfviewer
3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,7 @@ protected void onCreate(Bundle savedInstanceState) {
158
158
setContentView (R .layout .webview );
159
159
160
160
mWebView = findViewById (R .id .webview );
161
+ mWebView .setBackgroundColor (Color .TRANSPARENT );
161
162
162
163
if (BuildConfig .DEBUG ) {
163
164
WebView .setWebContentsDebuggingEnabled (true );
Original file line number Diff line number Diff line change
1
+ <resources >
2
+
3
+ <!-- Base application theme. -->
4
+ <style name =" AppTheme" parent =" Theme.MaterialComponents.DayNight.DarkActionBar" >
5
+ <!-- Customize your theme here. -->
6
+ <item name =" android:windowBackground" >#000000</item >
7
+ </style >
8
+
9
+ </resources >
Original file line number Diff line number Diff line change 1
1
<resources >
2
2
3
3
<!-- Base application theme. -->
4
- <style name =" AppTheme" parent =" Theme.AppCompat.Light .DarkActionBar" >
4
+ <style name =" AppTheme" parent =" Theme.MaterialComponents.DayNight .DarkActionBar" >
5
5
<!-- Customize your theme here. -->
6
6
</style >
7
7
You can’t perform that action at this time.
0 commit comments