| | |
| | | PhoneEmailFL = new FrameLayout() |
| | | { |
| | | Y = Application.GetRealHeight(y), |
| | | Height = Application.GetRealHeight(height), |
| | | Width = Application.GetRealWidth(width), |
| | | BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor, |
| | | Radius = (uint)Application.GetRealHeight(height / 2), |
| | | Width = Application.GetMinRealAverage(905), |
| | | Height = Application.GetMinRealAverage(170), |
| | | //BackgroundColor = ZigbeeColor.Current.GXCGrayLineColor, |
| | | //Radius = (uint)Application.GetRealHeight(height / 2), |
| | | Gravity = Gravity.CenterHorizontal |
| | | }; |
| | | frameLayout.AddChidren(PhoneEmailFL); |
| | | |
| | | var bg = new Button |
| | | { |
| | | Width = Application.GetMinRealAverage(905), |
| | | Height = Application.GetMinRealAverage(170), |
| | | UnSelectedImagePath = "Account/PhoneEmail_White.png", |
| | | Gravity = Gravity.CenterHorizontal |
| | | }; |
| | | PhoneEmailFL.AddChidren(bg); |
| | | |
| | | SelectedPhone = new Button() |
| | | { |
| | | Width = Application.GetRealWidth(width / 2 + 20), |
| | | X=Application.GetRealWidth(10), |
| | | Width = Application.GetMinRealAverage(905 / 2 + 20), |
| | | Height=Application.GetMinRealAverage(height), |
| | | SelectedBackgroundColor = ZigbeeColor.Current.GXCButtonSelectedColor, |
| | | TextID = R.MyInternationalizationString.PhoneNum, |
| | | TextColor = ZigbeeColor.Current.GXCTextColor, |
| | |
| | | |
| | | SelectedEmail = new Button() |
| | | { |
| | | X = Application.GetRealWidth(width / 2 - 20), |
| | | Width = Application.GetRealWidth(width / 2 + 20), |
| | | X = Application.GetMinRealAverage(905 / 2 - 20), |
| | | Width = Application.GetMinRealAverage(905 / 2 + 20), |
| | | Height = Application.GetMinRealAverage(height), |
| | | SelectedBackgroundColor = ZigbeeColor.Current.GXCButtonSelectedColor, |
| | | TextID = R.MyInternationalizationString.Email, |
| | | TextColor = ZigbeeColor.Current.GXCTextColor, |