| | |
| | | /// <summary>
|
| | | /// 做成一个加大点击区域的图标控件
|
| | | /// </summary>
|
| | | public class IconBigViewControl : FrameLayoutControl
|
| | | public class IconBigViewControl : FrameLayoutStatuControl
|
| | | {
|
| | | /// <summary>
|
| | | /// 图标控件(迫不得己,这个东西开放出去)
|
| | |
| | | /// <param name="i_height">控件高度</param>
|
| | | public IconBigViewControl(int i_width, int i_height)
|
| | | {
|
| | | this.Width = Application.GetMinRealAverage(110);
|
| | | this.Height = Application.GetMinRealAverage(110);
|
| | | this.Width = this.GetPictrueRealSize(110);
|
| | | this.Height = this.GetPictrueRealSize(110);
|
| | |
|
| | | this.btnIcon = new IconControlCommon();
|
| | | btnIcon.Width = Application.GetMinRealAverage(i_width);
|
| | | btnIcon.Height = Application.GetMinRealAverage(i_height);
|
| | | btnIcon.Width = this.GetPictrueRealSize(i_width);
|
| | | btnIcon.Height = this.GetPictrueRealSize(i_height);
|
| | | btnIcon.Gravity = Gravity.Center;
|
| | | }
|
| | |
|