黄学彪
2019-11-20 5174e95a428876018ce3372f3dbc24b2861ea472
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.Text;
 
namespace Shared.Phone.UserCenter
{
    /// <summary>
    /// 做成一个位于Rowlayout里面,提示拥有新版本的控件
    /// </summary>
    public class RowNewVersionTipView : ButtonBase
    {
        /// <summary>
        /// 做成一个位于Rowlayout里面,提示拥有新版本的控件
        /// </summary>
        public RowNewVersionTipView()
        {
            this.X = Application.GetRealWidth(720);
            this.Height = ControlCommonResourse.NormalControlHeight;
            this.Width = Application.GetRealWidth(200);
            this.TextAlignment = TextAlignment.Center;
            this.Gravity = Gravity.CenterVertical;
            this.Radius = (uint)ControlCommonResourse.NormalControlHeight / 2;
            this.BackgroundColor = UserCenterColor.Current.Red;
            this.TextColor = UserCenterColor.Current.White;
            this.TextID = R.MyInternationalizationString.uNEW;
        }
    }
}