| | |
| | | else
|
| | | {
|
| | | //没有可以添加的目标
|
| | | var btnPic = new PicViewControl(683, 392);
|
| | | btnPic.UnSelectedImagePath = "Item/NoFunction.png";
|
| | | btnPic.Y = (int)(bodyFrameLayout.Height * 0.382) - Application.GetRealHeight(392 / 2);
|
| | | btnPic.Gravity = Gravity.CenterHorizontal;
|
| | | bodyFrameLayout.AddChidren(btnPic);
|
| | |
|
| | | var btnView = new NormalViewControl(bodyFrameLayout.Width, Application.GetRealHeight(50), false);
|
| | | btnView.Y = btnPic.Bottom + Application.GetRealHeight(32);
|
| | | btnView.TextID = R.MyInternationalizationString.uNotHadAddTarget;
|
| | | btnView.TextAlignment = TextAlignment.Center;
|
| | | btnView.TextSize = 12;
|
| | | btnView.TextColor = UserCenterColor.Current.TextGrayColor1;
|
| | | bodyFrameLayout.AddChidren(btnView);
|
| | | return;
|
| | | this.ShowNotDataImage(bodyFrameLayout, Language.StringByID(R.MyInternationalizationString.uNotHadAddTarget));
|
| | | }
|
| | | });
|
| | | }
|