old mode 100755
new mode 100644
| | |
| | | |
| | | } |
| | | } |
| | | |
| | | public class BottomViewConfirmButton |
| | | { |
| | | public void LoadView(FrameLayout bodyView,EventHandler<MouseEventArgs> eventHandler,string confirmText) |
| | | { |
| | | var bottomView = new FrameLayout() |
| | | { |
| | | Y = Application.GetRealHeight(591), |
| | | Height = Application.GetRealHeight(76) + Application.GetRealWidth(44), |
| | | Radius = (uint)Application.GetRealWidth(22), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | }; |
| | | bodyView.AddChidren(bottomView); |
| | | |
| | | var btnConfrim = new Button() |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Y = Application.GetRealHeight(12), |
| | | Width = Application.GetRealWidth(220), |
| | | Height = Application.GetRealWidth(44), |
| | | Radius = (uint)Application.GetRealWidth(22), |
| | | BackgroundColor = CSS_Color.MainColor, |
| | | TextColor = CSS_Color.MainBackgroundColor, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextAlignment = TextAlignment.Center, |
| | | IsBold = true, |
| | | Text = confirmText, |
| | | }; |
| | | bottomView.AddChidren(btnConfrim); |
| | | |
| | | btnConfrim.MouseUpEventHandler = eventHandler; |
| | | } |
| | | |
| | | } |
| | | } |