| | |
| | | }; |
| | | this.AddChidren(btnTitle); |
| | | |
| | | cornerTopFram = new CornerFramLayout(343, 368, 17); |
| | | cornerTopFram = new CornerFramLayout(343, 368-24, 17); |
| | | cornerTopFram.X = Application.GetRealWidth(16); |
| | | cornerTopFram.Y = btnTitle.Bottom + Application.GetRealHeight(16); |
| | | this.AddChidren(cornerTopFram); |
| | | cornerTopFram.SetMargin(16, 0, 16, 0); |
| | | cornerTopFram.LoadButtonPage(AksCommonMethod.Current.GetTvKeypadList(),new List<int> { 5, 6 }); |
| | | cornerTopFram.LoadButtonPage(AksCommonMethod.Current.GetTvKeypadList(this.remoteControl),new List<int> { 5, 6 }); |
| | | |
| | | #region ----频道 控制---- |
| | | FrameLayout middLayout = new FrameLayout |
| | |
| | | numberFrame.Y = middLayout.Bottom + Application.GetRealHeight(16); |
| | | numberFrame.BackgroundColor = MusicColor.WhiteColor; |
| | | numberFrame.SetMargin(16,0,16,0); |
| | | numberFrame.LoadNumberButtonPage(AksCommonMethod.Current.GetNumberKeypadList()); |
| | | numberFrame.LoadNumberButtonPage(AksCommonMethod.Current.GetNumberKeypadList(this.remoteControl)); |
| | | this.AddChidren(numberFrame); |
| | | |
| | | |
| | | //菜单容器 |
| | | CornerFramLayout cornerBottomFram = new CornerFramLayout(343, 292, 17); |
| | | CornerFramLayout cornerBottomFram = new CornerFramLayout(343, 292-30, 17); |
| | | cornerBottomFram.X = Application.GetRealWidth(16); |
| | | cornerBottomFram.Y = middLayout.Bottom + Application.GetRealHeight(16); |
| | | cornerBottomFram.BackgroundColor = MusicColor.WhiteColor; |