Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public override bool OnOptionsItemSelected(IMenuItem item)
- {
- if (item.ItemId != global::Android.Resource.Id.Home) return base.OnOptionsItemSelected(item);
- ViewModel.BackNavigationButtonCommand.Execute();
- return true;
- }
- SupportActionBar.SetHomeButtonEnabled(true);
- SupportActionBar.SetDisplayHomeAsUpEnabled(true);
- [Activity(
- Label = "Project Wavelength"
- , Icon = "@drawable/icon"
- , Theme = "@style/Theme.AppCompat.Light.DarkActionBar"
- , ScreenOrientation = ScreenOrientation.Portrait
- , LaunchMode = LaunchMode.SingleTop)]
- [Activity(Label = "DevicesWithSensorsForRoom"
- , Icon = "@drawable/icon"
- , ScreenOrientation = ScreenOrientation.Portrait
- , Theme = "@style/Theme.AppCompat.Light.DarkActionBar"
- , ParentActivity = typeof(RoomsOverviewActivity)
- , LaunchMode = LaunchMode.SingleTop)]
Add Comment
Please, Sign In to add comment