| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = MusicColor.TextColor, |
| | | TextSize = TextSize.Text16, |
| | | TextID = StringId.xuniyaokongqi, |
| | | Text= this.remoteControl.name, |
| | | IsBold = true, |
| | | }; |
| | | this.AddChidren(btnTitle); |
| | | |
| | |
| | | Width = Application.GetRealWidth(48), |
| | | Gravity = Gravity.CenterHorizontal, |
| | | BackgroundColor = 0xff201F25, |
| | | Radius = (uint)Application.GetRealHeight(24), |
| | | Radius = (uint)Application.GetRealWidth(24), |
| | | |
| | | }; |
| | | layout.AddChidren(switchFl); |
| | |
| | | typeMultiFramLayout = new TypeMultiFramLayout(); |
| | | typeMultiFramLayout.multiFramLayout.Y = Application.GetRealHeight(16); |
| | | typeMultiFramLayout.AddView(cornerBottomFram); |
| | | typeMultiFramLayout.btnBottonRightName.TextID = StringId.xuniyaokongqi; |
| | | typeMultiFramLayout.btnBottonRightName.Text = this.remoteControl.name; |
| | | |
| | | this.AdjustRealHeight(16); |
| | | } |
| | |
| | | class CustomFrameLayout : FrameLayout |
| | | { |
| | | public const int widthFrameLayout = 36; |
| | | public const int heightFrameLayout = 49; |
| | | public const int heightFrameLayout = 49-6; |
| | | public CustomFrameLayout(int width = widthFrameLayout, int height = heightFrameLayout) |
| | | { |
| | | this.Width = Application.GetRealWidth(width); |
| | |
| | | SelectedTextColor = MusicColor.MusicTxet14SelectedColor, |
| | | TextAlignment = TextAlignment.Center, |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Padding=new Padding(0,0,0,0), |
| | | }; |
| | | Button btnNumber = new Button |
| | | { |
| | |
| | | Width = Application.GetRealWidth(12), |
| | | Height = Application.GetRealWidth(12), |
| | | Gravity = Gravity.Center, |
| | | Radius = (uint)Application.GetRealHeight(6), |
| | | Radius = (uint)Application.GetRealWidth(6), |
| | | BackgroundColor=0x00000000, |
| | | SelectedBackgroundColor = 0xFFEFEFEF, |
| | | SelectedBackgroundColor = 0xFFF2F3F7, |
| | | }; |
| | | |
| | | public FrameLayout clickFl = new FrameLayout |