| | |
| | | /// 动态加载按键界面 |
| | | /// </summary> |
| | | /// <param name="mList">列表</param> |
| | | /// <param name="list">列表中索引,表示某一条宽度加宽</param> |
| | | /// <param name="list"> 列表中索引,表示某一条宽度加宽,没有默认(new List<int>)</param> |
| | | /// <param name="defaultIndex">默认值索引范围[0,mList.count-1],大于范围,该值视为无效</param> |
| | | public void LoadButtonPage(List<KeypadEntity> mList, List<int> list,int defaultIndex=-1) |
| | | { |
| | |
| | | IsBold = true, |
| | | Tag = keypad, |
| | | BackgroundColor = MusicColor.WhiteColor, |
| | | SelectedBackgroundColor = 0xff454635, |
| | | SelectedBackgroundColor = 0xFFEFEFEF, |
| | | Radius = (uint)Application.GetRealHeight(8), |
| | | }; |
| | | this.AddChidren(button); |
| | | |