mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 07:35:52 +03:00
31 lines
924 B
C#
31 lines
924 B
C#
|
using System;
|
|||
|
|
|||
|
using Android.App;
|
|||
|
using Android.Content.PM;
|
|||
|
using Android.Runtime;
|
|||
|
using Android.Views;
|
|||
|
using Android.Widget;
|
|||
|
using Android.OS;
|
|||
|
|
|||
|
namespace Bit.Droid
|
|||
|
{
|
|||
|
[Activity(
|
|||
|
Label = "Bitwarden",
|
|||
|
MainLauncher = true,
|
|||
|
Icon = "@mipmap/ic_launcher",
|
|||
|
Theme = "@style/MainTheme",
|
|||
|
ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
|
|||
|
[Register("com.x8bit.bitwarden.MainActivity")]
|
|||
|
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.App());
|
|||
|
}
|
|||
|
}
|
|||
|
}
|