old mode 100755
new mode 100644
| | |
| | | { |
| | | Y=Height-1, |
| | | Height=1, |
| | | BackgroundColor=ZigbeeColor.Current.GXCGrayLineColor4 |
| | | BackgroundColor= UserCenter.UserCenterColor.Current.ButtomLine |
| | | }; |
| | | AddChidren(line); |
| | | } |
| | |
| | | private void AddBackBtn() |
| | | { |
| | | backButton = new UserCenter.BackViewControl(); |
| | | topView.AddChidren(backButton);
|
| | | topView.AddChidren(backButton); |
| | | backButton.InitControl(); |
| | | //后续再调整 |
| | | backButton.Y = backButton.Y - Application.GetRealHeight(4); |
| | |
| | | /// 标题 |
| | | /// </summary> |
| | | private void AddTitle() |
| | | {
|
| | | { |
| | | topTitle = new Button(); |
| | | topTitle.TextSize = 17; |
| | | topTitle.X = Application.GetRealWidth(161); |
| | | topTitle.Height = Application.GetRealHeight(75); |
| | | topTitle.Width = Application.GetRealWidth(850); |
| | | topTitle.Gravity = Gravity.CenterVertical; |
| | | topTitle.TextColor = UserCenter.UserCenterColor.Current.TopLayoutTitleText;
|
| | | topTitle.TextAlignment = TextAlignment.CenterLeft;
|
| | | topTitle.TextColor = UserCenter.UserCenterColor.Current.TopLayoutTitleText; |
| | | topTitle.TextAlignment = TextAlignment.CenterLeft; |
| | | topTitle.IsBold = true; |
| | | |
| | | topView.AddChidren(topTitle); |