黄学彪
2020-12-17 6c0c799c1f5da2d215ec8d9df9b92b3d1948dc14
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
29
30
31
32
33
34
using System;
using Shared;
using HDL_ON.UI.CSS;
 
namespace HDL_ON.UI
{
    /// <summary>
    /// 通用LineView
    /// 分割线View
    /// </summary>
    public class LineView : FrameLayout
    {
        //public LineView()
        //{
        //    X = Application.GetRealWidth(16);
        //    Height = Application.GetRealHeight(1);
        //    Width = Application.GetRealWidth(343);
        //    BackgroundColor = CSS_Color.DividingLineColor;
        //}
 
        /// <summary>
        /// 
        /// </summary>
        /// <param name="parentHeight"></param>
        public LineView(int parentHeight)
        {
            X = Application.GetRealWidth(16);
            Height = Application.GetRealHeight(1);
            Width = Application.GetRealWidth(343);
            BackgroundColor = CSS_Color.DividingLineColor;
            Y = parentHeight - Height;
        }
    }
}