| | |
| | | /// <summary> |
| | | /// 主控件View |
| | | /// </summary> |
| | | public RowLayout frameLayout = new RowLayout |
| | | public FrameLayout frameLayout = new FrameLayout |
| | | { |
| | | Height = Application.GetRealHeight(60), |
| | | LineColor = CSS.CSS_Color.view, |
| | | //BackgroundColor = CSS.CSS_Color.view, |
| | | }; |
| | | |
| | | /// <summary> |
| | |
| | | Y = Application.GetRealHeight(10), |
| | | Width = Application.GetRealWidth(120), |
| | | Height = Application.GetRealHeight(20), |
| | | TextColor = CSS.CSS_Color.textCancelColor, |
| | | TextColor = CSS.CSS_Color.textColor, |
| | | TextSize = TextSize.text14, |
| | | TextAlignment=TextAlignment.CenterLeft, |
| | | //Text = "15:01", |
| | | Text = "15:01", |
| | | }; |
| | | /// <summary> |
| | | /// 状态文本 |
| | |
| | | TextSize = TextSize.text12, |
| | | TextColor = CSS.CSS_Color.textCancelColor, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | Text = "已接听, 已开锁", |
| | | }; |
| | | |
| | | |
| | |
| | | /// View的方法 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public RowLayout FLayoutView() |
| | | public FrameLayout FLayoutView() |
| | | { |
| | | frameLayout.AddChidren(btnText); |
| | | frameLayout.AddChidren(btnTime); |