From a3dfbcd5218270f9a75e6e32807b08215270b657 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期三, 11 九月 2024 11:48:23 +0800 Subject: [PATCH] Merge branch 'feature/v2.5_极光推送' into feature/V2.6.0_google --- HDL_ON/UI/UI0-Public/TopViewDiv.cs | 27 +++++++++++++++++++++++++-- 1 files changed, 25 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI0-Public/TopViewDiv.cs b/HDL_ON/UI/UI0-Public/TopViewDiv.cs index 0bf2eb4..a98c233 100644 --- a/HDL_ON/UI/UI0-Public/TopViewDiv.cs +++ b/HDL_ON/UI/UI0-Public/TopViewDiv.cs @@ -11,7 +11,7 @@ /// <summary> /// 鐖剁獥浣� /// </summary> - FrameLayout baseView; + public FrameLayout baseView; /// <summary> /// 鐖剁獥浣揇ialog /// </summary> @@ -19,7 +19,7 @@ /// <summary> /// 鍐呭鍖哄煙 /// </summary> - FrameLayout contentView; + public FrameLayout contentView; /// <summary> /// 鍚庨��鎸夐挳 @@ -228,6 +228,29 @@ }; } + public void LoadTopView_Linphone() + { + LoadTopView(); + + var btnSetting = new Button() + { + X = Application.GetRealWidth(337), + Y = Application.GetRealHeight(28 + maginY), + Width = Application.GetMinRealAverage(32), + Height = Application.GetMinRealAverage(32), + UnSelectedImagePath = "Public/FuncInfoSetIcon.png", + }; + contentView.AddChidren(btnSetting); + + btnSetting.MouseUpEventHandler = (sender, e) => + { + var infoView = new FunctionBaseInfoSetPage(); + MainPage.BasePageView.AddChidren(infoView); + infoView.LoadPage(); + MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; + }; + } + /// <summary> -- Gitblit v1.8.0