| | |
| | | /// </summary> |
| | | void LoadPictureOptionView() |
| | | { |
| | | pictureOptionView = new FrameLayout() |
| | | var pictureBaseView = new FrameLayout() |
| | | { |
| | | BackgroundColor = CSS_Color.DialogTransparentColor1, |
| | | |
| | | }; |
| | | bodyView.AddChidren(pictureOptionView); |
| | | bodyView.AddChidren(pictureBaseView); |
| | | |
| | | pictureOptionView = new FrameLayout() |
| | | { |
| | | Y = Application.GetRealHeight(495), |
| | | AnimateSpeed = 0.3f, |
| | | Animate = Animate.DownToUp, |
| | | Height = Application.GetRealHeight(200), |
| | | }; |
| | | pictureBaseView.AddChidren(pictureOptionView); |
| | | |
| | | |
| | | optionView = new VerticalScrolViewLayout() |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Y = Application.GetRealHeight(495), |
| | | Width = Application.GetRealWidth(343), |
| | | Height = Application.GetRealHeight(100), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | Radius = (uint)Application.GetRealWidth(12), |
| | | AnimateSpeed = 0.3f, |
| | | Animate = Animate.DownToUp, |
| | | ScrollEnabled = false, |
| | | }; |
| | | pictureOptionView.AddChidren(optionView); |
| | | |
| | | //btnDefaultGallery = new Button() |
| | | //{ |
| | | // Height = Application.GetRealHeight(50), |
| | | // TextAlignment = TextAlignment.Center, |
| | | // TextColor = CSS_Color.TextualColor, |
| | | // SelectedTextColor = CSS_Color.MainColor, |
| | | // TextSize = CSS_FontSize.SubheadingFontSize, |
| | | // TextID = StringId.DefaultGallery, |
| | | //}; |
| | | //optionView.AddChidren(btnDefaultGallery); |
| | | //optionView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor }); |
| | | |
| | | btnTakePicture = new Button() |
| | | { |
| | |
| | | Width = Application.GetRealWidth(343), |
| | | Height = Application.GetRealHeight(50), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | Radius = (uint)Application.GetRealWidth(6), |
| | | Radius = (uint)Application.GetRealWidth(12), |
| | | TextID = StringId.Cancel, |
| | | TextColor = CSS_Color.WarningColor, |
| | | AnimateSpeed = 0.3f, |
| | | Animate = Animate.DownToUp, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | }; |
| | | pictureOptionView.AddChidren(btnCancel); |
| | | |
| | | LoadEvent_PictureOptionViewEventList(); |
| | | LoadEvent_PictureOptionViewEventList(pictureBaseView); |
| | | } |
| | | } |
| | | } |