| | |
| | | /// <summary>
|
| | | /// TopMenuFrameLayout |
| | | /// </summary> |
| | | public FrameLayout topMenuFrameLayout = null; |
| | | public NormalFrameLayout topMenuFrameLayout = null; |
| | | /// <summary> |
| | | /// TopFrameLayout |
| | | /// </summary> |
| | | public FrameLayout topFrameLayout = null; |
| | | public NormalFrameLayout topFrameLayout = null; |
| | | /// <summary> |
| | | /// bodyFrameLayout |
| | | /// </summary> |
| | | public FrameLayout bodyFrameLayout = null; |
| | | public NormalFrameLayout bodyFrameLayout = null; |
| | | /// <summary>
|
| | | /// 左滑使能
|
| | | /// </summary> |
| | |
| | | } |
| | | |
| | | //TopMenuFrameLayout做成 |
| | | topMenuFrameLayout = new FrameLayout(); |
| | | topMenuFrameLayout = new NormalFrameLayout(); |
| | | topMenuFrameLayout.Height = ControlCommonResourse.TopMenuFrameHeight; |
| | | topMenuFrameLayout.BackgroundColor = UserCenterColor.Current.TopFrameLayout; |
| | | topMenuFrameLayout.Name = "topMenuFrameLayout"; |
| | | this.AddChidren(topMenuFrameLayout);
|
| | | |
| | | //TopFrameLayout做成 |
| | | topFrameLayout = new FrameLayout(); |
| | | topFrameLayout = new NormalFrameLayout(); |
| | | topFrameLayout.Height = ControlCommonResourse.TopFrameHeight; |
| | | topFrameLayout.BackgroundColor = UserCenterColor.Current.TopFrameLayout; |
| | | topFrameLayout.Y = topMenuFrameLayout.Bottom; |
| | |
| | | { |
| | | bodyFrameLayout.RemoveAll(); |
| | | }
|
| | | bodyFrameLayout = new FrameLayout(); |
| | | bodyFrameLayout = new NormalFrameLayout(); |
| | | bodyFrameLayout.Height = ControlCommonResourse.BodyFrameHeight; |
| | | bodyFrameLayout.Y = topFrameLayout.Bottom; |
| | | bodyFrameLayout.BackgroundColor = UserCenterColor.Current.BodyFrameLayout; |
| | |
| | | /// </summary> |
| | | public override void ShowReLoadView()
|
| | | {
|
| | | Application.RunOnMainThread(() =>
|
| | | HdlThreadLogic.Current.RunMain(() =>
|
| | | {
|
| | | if (bodyFrameLayout == null || bodyFrameLayout.Parent == null)
|
| | | {
|
| | |
| | | frame.AddChidren(btnReLoad);
|
| | | btnReLoad.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | //点击重新加载时,允许再次联网
|
| | | HdlWifiLogic.Current.CanAccessHttp = true;
|
| | |
|
| | | //清除全部控件
|
| | | this.ClearBodyFrame();
|
| | |
|