old mode 100755
new mode 100644
File was renamed from ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/BottomItemSelectForm.cs |
| | |
| | | using System.Collections.Generic;
|
| | | using System.Text;
|
| | |
|
| | | namespace Shared.Phone.UserCenter
|
| | | namespace Shared.Phone |
| | | {
|
| | | /// <summary>
|
| | | /// 底部弹窗项目选择界面
|
| | |
| | | //★★从下往上添加控件★★ |
| | |
|
| | | //明细高度(初始最多只显示9行) |
| | | int detailHeight = ControlCommonResourse.ListViewRowHeight + Application.GetRealHeight(12);
|
| | | int detailHeight = HdlControlResourse.ListViewRowHeight + Application.GetRealHeight(12); |
| | | if (i_listText.Count > 9)
|
| | | {
|
| | | //63:上部间距 58:下部间距
|
| | |
| | | }
|
| | | //线
|
| | | int lineYY = listDetailView1 != null ? listDetailView1.Y : listDetailView2.Y;
|
| | | var btnLine = new NormalViewControl(bodyFrameLayout.Width, ControlCommonResourse.BottomLineHeight, false);
|
| | | btnLine.Y = lineYY - ControlCommonResourse.BottomLineHeight;
|
| | | var btnLine = new NormalViewControl(bodyFrameLayout.Width, HdlControlResourse.BottomLineHeight, false); |
| | | btnLine.Y = lineYY - HdlControlResourse.BottomLineHeight; |
| | | btnLine.BackgroundColor = UserCenterColor.Current.ButtomLine;
|
| | | bodyFrameLayout.AddChidren(btnLine);
|
| | |
|
| | |
| | | //显示上下两行
|
| | | btnRow = new NormalSelectControl(i_listText[i], i_listBottomtext[i], rowSpace / 2);
|
| | | }
|
| | | btnRow.LeftOffset = Application.GetRealWidth(81) - ControlCommonResourse.XXLeft;//向右偏移
|
| | | btnRow.RightOffset = ControlCommonResourse.XXLeft - Application.GetRealWidth(81);//向左偏移
|
| | | btnRow.LeftOffset = Application.GetRealWidth(81) - HdlControlResourse.XXLeft;//向右偏移 |
| | | btnRow.RightOffset = HdlControlResourse.XXLeft - Application.GetRealWidth(81);//向左偏移 |
| | | listDetailView1?.AddChidren(btnRow);
|
| | | listDetailView2?.AddChidren(btnRow);
|
| | |
|