| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = MusicColor.TextColor, |
| | | TextSize = TextSize.Text16, |
| | | TextID = StringId.dianshi, |
| | | Text= this.remoteControl.name, |
| | | IsBold = true, |
| | | }; |
| | | 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 |
| | |
| | | SelectedTextColor = MusicColor.MusicTxet14SelectedColor, |
| | | TextSize = TextSize.Text16, |
| | | TextID = StringId.pindao, |
| | | Padding = new Padding(0, 0, 0, 0), |
| | | IsBold = true, |
| | | }; |
| | | leftLayout.AddChidren(leftBtnTitle); |
| | | |
| | |
| | | SelectedTextColor = MusicColor.MusicTxet14SelectedColor, |
| | | TextSize = TextSize.Text16, |
| | | TextID = StringId.kongzhi, |
| | | Padding = new Padding(0, 0, 0, 0), |
| | | IsBold = true, |
| | | }; |
| | | rightLayout.AddChidren(rightBtnTitle); |
| | | |
| | |
| | | |
| | | #endregion |
| | | |
| | | |
| | | |
| | | //数字按键容器 |
| | | numberFrame = new CornerFramLayout(343, 368, 17); |
| | | numberFrame = new CornerFramLayout(343, 368-24, 17); |
| | | numberFrame.X = Application.GetRealWidth(16); |
| | | numberFrame.Y = middLayout.Bottom + Application.GetRealHeight(16); |
| | | numberFrame.Y = middLayout.Bottom; |
| | | 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.Y = middLayout.Bottom; |
| | | cornerBottomFram.BackgroundColor = MusicColor.WhiteColor; |
| | | this.AddChidren(cornerBottomFram); |
| | | |
| | |
| | | typeMultiFramLayout = new TypeMultiFramLayout(); |
| | | typeMultiFramLayout.multiFramLayout.Y = menuFram.Bottom + Application.GetRealHeight(32); |
| | | typeMultiFramLayout.AddView(cornerBottomFram); |
| | | typeMultiFramLayout.btnBottonRightName.TextID = StringId.dianshi; |
| | | typeMultiFramLayout.btnBottonRightName.Text = this.remoteControl.name; |
| | | |
| | | //初始值 |
| | | leftBtnTitle.IsSelected = true; |