mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-03-12 23:01:52 +01:00
22 lines
706 B
C#
22 lines
706 B
C#
|
|
using Android.App;
|
|
using Android.Content.PM;
|
|
using Android.OS;
|
|
|
|
namespace Borepin.Droid
|
|
{
|
|
[Activity(Theme = "@style/MainTheme", ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
|
|
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
|
|
{
|
|
protected override void OnCreate(Bundle savedInstanceState)
|
|
{
|
|
TabLayoutResource = Resource.Layout.Tabbar;
|
|
ToolbarResource = Resource.Layout.Toolbar;
|
|
|
|
base.OnCreate(savedInstanceState);
|
|
|
|
global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
|
|
LoadApplication(new App(new PlatformInitializer()));
|
|
}
|
|
}
|
|
} |