| | |
| | | bodyView.BackgroundColor = CSS.CSS_Color.MainBackgroundColor; |
| | | ContextView = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealHeight(618+30), |
| | | Height = Application.GetRealHeight(618+20), |
| | | BackgroundColor = CSS.CSS_Color.BackgroundColor, |
| | | }; |
| | | bodyView.AddChidren(ContextView); |
| | |
| | | Height = Application.GetMinRealAverage(60), |
| | | }; |
| | | bodyView.AddChidren(navigationView); |
| | | if (MainPage.Increase) |
| | | { |
| | | //ContextView.Height = Application.GetRealHeight(618 + 20); |
| | | navigationView.Y = Application.GetRealHeight(597+5); |
| | | navigationView.Height = Application.GetRealHeight(70-5); |
| | | } |
| | | |
| | | InitBottomView(); |
| | | |
| | |
| | | Width = Application.GetMinRealAverage(22), |
| | | Height = Application.GetMinRealAverage(22), |
| | | UnSelectedImagePath = "Navigation/CollectionIcon.png", |
| | | SelectedImagePath = "0Common/transparent.png", |
| | | SelectedImagePath = "Public/transparent.png", |
| | | IsSelected = true, |
| | | }; |
| | | collectionView.AddChidren(btnCollectionIcon); |
| | |
| | | Width = Application.GetMinRealAverage(22), |
| | | Height = Application.GetMinRealAverage(22), |
| | | UnSelectedImagePath = "Navigation/ClassificationIcon.png", |
| | | SelectedImagePath = "0Common/transparent.png", |
| | | SelectedImagePath = "Public/transparent.png", |
| | | }; |
| | | classificationView.AddChidren(btnClassificationIcon); |
| | | btnClassificationText = new Button() |
| | |
| | | Width = Application.GetMinRealAverage(22), |
| | | Height = Application.GetMinRealAverage(22), |
| | | UnSelectedImagePath = "Navigation/IntellectualizationIcon.png", |
| | | SelectedImagePath = "0Common/transparent.png", |
| | | SelectedImagePath = "Public/transparent.png", |
| | | }; |
| | | intellectualizationView.AddChidren(btnIntellectualizationIcon); |
| | | btnIntellectualizationText = new Button() |
| | |
| | | Width = Application.GetMinRealAverage(22), |
| | | Height = Application.GetMinRealAverage(22), |
| | | UnSelectedImagePath = "Navigation/PersonalCenterIcon.png", |
| | | SelectedImagePath = "0Common/transparent.png", |
| | | SelectedImagePath = "Public/transparent.png", |
| | | }; |
| | | personalCenterView.AddChidren(btnPersonalCenterIcon); |
| | | |
| | |
| | | }; |
| | | personalCenterView.AddChidren(btnPersonalCenterText); |
| | | #endregion |
| | | |
| | | |
| | | |
| | | var homePage = new HomePage(); |
| | | ContextView.AddChidren(homePage); |
| | |
| | | { IsBackground = true }.Start(); |
| | | #endregion |
| | | ContextView.RemoveAll(); |
| | | var classificaitionView = new UI.ClassificationPage(); |
| | | var classificaitionView = new ClassificationPage(); |
| | | ContextView.AddChidren(classificaitionView); |
| | | classificaitionView.LoadPage(); |
| | | |