IconLayout.WidthRequest = SizeUtils.GetWidthSize(240);
// TODO : set proper size
IconLayout.HeightRequest = SizeUtils.GetHeightSize(342);
- ButtonTitle.FontSize = SizeUtils.GetFontSize(28);
+ ButtonTitle.FontSize = SizeUtils.GetFontSize(25);
ButtonTitle.PropertyChanged += ButtonTitlePropertyChanged;
OptionMenuPinToggleButton.Text = IsPinned ? "UNPIN" : "PIN";
PropertyChanged += MainPagePropertyChanged;
SetCurrentStatus(AppsStatus.Default);
- PlayShowAnimation();
// TODO: This code is temporary for menu option test
App.SetMenuKeyListener((e, arg) =>
});
}
+ protected override async void OnAppearing()
+ {
+ base.OnAppearing();
+ await AppList.TranslateTo(0, showTransitionHeight, 0);
+#pragma warning disable CS4014
+ AppList.TranslateTo(0, 0, 667);
+#pragma warning restore CS4014
+ await PageDimBox.FadeTo(0.0, 667);
+ PageDimBox.IsVisible = false;
+ await Task.Delay(1);
+ AppList.InitializeFocus();
+ }
+
/// <summary>
/// A method sets current status of MainPage
/// Changes visibility of footers