| | |
| | | topFrameLayout.Name = "topFrameLayout"; |
| | | this.AddChidren(topFrameLayout); |
| | | |
| | | //线 |
| | | var btnLine = new NormalViewControl(topFrameLayout.Width, 1, false); |
| | | btnLine.BackgroundColor = 0x40000000; |
| | | btnLine.Y = topFrameLayout.Height - 1; |
| | | topFrameLayout.AddChidren(btnLine); |
| | | |
| | | //返回键 |
| | | var btnBack = new BackViewControl(); |
| | | topFrameLayout.AddChidren(btnBack); |
| | |
| | | //标题 |
| | | var txttitle = new TopLayoutTitleControl(); |
| | | topFrameLayout.AddChidren(txttitle); |
| | | //粗体 |
| | | txttitle.IsBold = true; |
| | | topFrameLayout.AddTag("txtTitle", txttitle); |
| | | } |
| | |
|
| | |
| | | btnHelp.Text = Language.StringByID(R.MyInternationalizationString.uSearchHelp);
|
| | | bodyFrameLayout.AddChidren(btnHelp);
|
| | | //底线
|
| | | int lineWidth = btnHelp.GetRealWidthByText(12);
|
| | | int lineWidth = btnHelp.GetRealWidthByText();
|
| | | var btnLine = new NormalViewControl(lineWidth, ControlCommonResourse.BottomLineHeight, false);
|
| | | btnLine.BackgroundColor = UserCenterColor.Current.TextOrangeColor;
|
| | | btnLine.Gravity = Gravity.CenterHorizontal;
|