wjc
2023-07-31 175ace9b4dd6a166285ef8de777c412776cee467
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
35
36
37
38
39
40
using System;
using HDL_ON.UI.Music;
using Shared;
namespace HDL_ON.UI.UI2.FuntionControlView.Aks.CommonView
{
    public class PayerFramLayout : BaseFramLayout
    {
        public PayerFramLayout(int width, int height)
        {
            this.BackgroundColor = MusicColor.WhiteColor;
            this.Width = Application.GetRealWidth(width);
            this.Height = Application.GetRealHeight(height);
            this.Radius = (uint)Application.GetRealHeight(17);
 
        }
 
 
        public void LoadPage()
        {
            TypeSingleFramLayout singleFramLayout = new TypeSingleFramLayout(101, 40);
            this.AddChidren(singleFramLayout);
            singleFramLayout.Y = Application.GetRealHeight(24);
            singleFramLayout.Gravity = Gravity.CenterHorizontal;
            singleFramLayout.AddBtnLeftImage();
            singleFramLayout.AddBtnName();
            singleFramLayout.AddBtnRightImage();
 
 
 
            MenuFramLayout menuFramLayout = new MenuFramLayout();
            menuFramLayout.Y = singleFramLayout.Bottom + Application.GetRealHeight(32);
            menuFramLayout.Gravity = Gravity.CenterHorizontal;
            menuFramLayout.AddView(this);
 
 
 
        }
 
    }
}