| | |
| | | Width = Application.GetRealWidth(182), |
| | | Text = editParater, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS.CSS_FontSize.TextFontSize, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | }; |
| | | editView.AddChidren(etParater); |
| | | |
| | |
| | | { |
| | | Y = Application.GetRealHeight(128), |
| | | Height = Application.GetRealHeight(1), |
| | | BackgroundColor = CSS.CSS_Color.DividingLineColor, |
| | | BackgroundColor = CSS_Color.DividingLineColor, |
| | | }; |
| | | contentView.AddChidren(btnLine); |
| | | |
| | |
| | | /// </summary> |
| | | /// <param name="msg"></param> |
| | | /// <param name="isWhite"></param> |
| | | public void TipMsgAutoClose(string msg,bool isWhite) |
| | | public void TipMsgAutoClose(string msg,bool isWhite,int closeTime = 1500) |
| | | { |
| | | Dialog dialog = new Dialog() |
| | | { |
| | |
| | | dialog.Show(); |
| | | |
| | | new Thread(() => { |
| | | Thread.Sleep(1500); |
| | | Thread.Sleep(closeTime); |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | dialog.Close(); |