Ignore Dark Mode

This commit is contained in:
TheJoKlLa
2021-09-20 18:55:16 +02:00
parent 7b0cf64d0e
commit 2bb024fcbc
3 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,7 @@
using Android.App;
using Android.Content.PM;
using Android.OS;
using AndroidX.AppCompat.App;
namespace Borepin.Droid
{
@ -10,6 +11,8 @@ namespace Borepin.Droid
{
protected override void OnCreate(Bundle savedInstanceState)
{
AppCompatDelegate.DefaultNightMode = AppCompatDelegate.ModeNightNo;
TabLayoutResource = Resource.Layout.Tabbar;
ToolbarResource = Resource.Layout.Toolbar;