| | |
| | | { |
| | | rowView = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealHeight(140), |
| | | Height = Application.GetRealWidth(140), |
| | | }; |
| | | contextView.AddChidren(rowView); |
| | | } |
| | |
| | | { |
| | | X = functionView_X, |
| | | Width = Application.GetRealWidth(182), |
| | | Height = Application.GetRealHeight(140), |
| | | Height = Application.GetRealWidth(140), |
| | | Tag = function.sid |
| | | }; |
| | | rowView.AddChidren(functionView); |
| | |
| | | btnIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Y = Application.GetRealHeight(16), |
| | | Y = Application.GetRealWidth(16), |
| | | Width = Application.GetMinRealAverage(32), |
| | | Height = Application.GetMinRealAverage(32), |
| | | }; |
| | |
| | | btnName = new Button() |
| | | { |
| | | X = Application.GetRealWidth(21), |
| | | Y = Application.GetRealHeight(10) + btnIcon.Bottom, |
| | | Y = Application.GetRealWidth(10) + btnIcon.Bottom, |
| | | Text = function.name, |
| | | IsBold = true, |
| | | TextColor = CSS.CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS.CSS_FontSize.TextFontSize, |
| | | Height = Application.GetRealHeight(24), |
| | | Height = Application.GetRealWidth(24), |
| | | Width = Application.GetRealWidth(140), |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | }; |
| | |
| | | { |
| | | X = Application.GetRealWidth(21), |
| | | Y = btnName.Bottom, |
| | | Height = Application.GetRealHeight(18), |
| | | Height = Application.GetRealWidth(18), |
| | | Width = Application.GetRealWidth(113), |
| | | TextColor = CSS.CSS_Color.PromptingColor1, |
| | | TextSize = CSS.CSS_FontSize.PromptFontSize_SecondaryLevel, |
| | |
| | | { |
| | | X = Application.GetRealWidth(21), |
| | | Y = btnZone.Bottom, |
| | | Height = Application.GetRealHeight(18), |
| | | Height = Application.GetRealWidth(18), |
| | | Width = Application.GetRealWidth(113), |
| | | SelectedTextColor = CSS.CSS_Color.MainBackgroundColor, |
| | | TextColor = 0x00000000, |
| | |
| | | btnCollection = new Button() |
| | | { |
| | | X = Application.GetRealWidth(130), |
| | | Y = Application.GetRealHeight(16), |
| | | Y = Application.GetRealWidth(16), |
| | | Width = Application.GetMinRealAverage(32), |
| | | Height = Application.GetMinRealAverage(32), |
| | | SelectedImagePath = "Collection/CollectionWhiteIcon.png", |
| | |
| | | btnSwitch = new Button() |
| | | { |
| | | X = Application.GetRealWidth(122), |
| | | Y = Application.GetRealHeight(92), |
| | | Y = Application.GetRealWidth(92), |
| | | Width = Application.GetMinRealAverage(48), |
| | | Height = Application.GetMinRealAverage(36), |
| | | UnSelectedImagePath = "Collection/Switch.png", |
| | | SelectedImagePath = "Collection/SwitchOn.png", |
| | | UnSelectedImagePath = "Public/Switch.png", |
| | | SelectedImagePath = "Public/SwitchOn.png", |
| | | }; |
| | | view.AddChidren(btnSwitch); |
| | | |