From 23bbed132eea46eef51c6d01c21b346238e29ee2 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 30 六月 2022 13:39:12 +0800 Subject: [PATCH] Merge branch 'wxr0114' into V1.5.9 --- HDL_ON/UI/UI0-Public/PublicAssmebly.cs | 93 ---------------------------------------------- 1 files changed, 0 insertions(+), 93 deletions(-) diff --git a/HDL_ON/UI/UI0-Public/PublicAssmebly.cs b/HDL_ON/UI/UI0-Public/PublicAssmebly.cs index 40d3b05..b070e69 100644 --- a/HDL_ON/UI/UI0-Public/PublicAssmebly.cs +++ b/HDL_ON/UI/UI0-Public/PublicAssmebly.cs @@ -422,99 +422,6 @@ }) { IsBackground = true }.Start(); } - - /// <summary> - /// 鍙瀵硅鍛煎彨寮圭獥 - /// </summary> - public void TipLinphoneCall(String msg, ESVideoInfo mESVideoInfo) - { - if (UserInfo.Current.alreadyShowCallInDialog) - { - return; - } - UserInfo.Current.alreadyShowCallInDialog = true; - Dialog dialog = new Dialog(); - - FrameLayout dialogBody = new FrameLayout(); - dialog.AddChidren(dialogBody); - - - FrameLayout frame = new FrameLayout() - { - Gravity = Gravity.Center, - Width = Application.GetRealWidth(263), - Height = Application.GetRealHeight(145), - BackgroundColor = 0xE6FFFFFF , - Radius = (uint)Application.GetRealWidth(12), - }; - dialog.AddChidren(frame); - - Button btnTipIcon = new Button() - { - X = Application.GetRealWidth(26), - Y = Application.GetRealHeight(20), - Width = Application.GetRealWidth(32), - Height = Application.GetRealWidth(32), - UnSelectedImagePath = "Public/MsgIcon/CallIcon.png" , - }; - frame.AddChidren(btnTipIcon); - - Button btnTipMsg = new Button() - { - Y = Application.GetRealHeight(5), - X = Application.GetRealWidth(60), - Height = Application.GetRealHeight(52), - Width = Application.GetRealWidth(160), - TextAlignment = TextAlignment.CenterLeft, - TextSize = CSS_FontSize.TextFontSize, - TextColor = CSS_Color.FirstLevelTitleColor , - IsMoreLines = true, - Text = msg - }; - frame.AddChidren(btnTipMsg); - - - Button btnHangUpIcon = new Button() - { - X = Application.GetRealWidth(45), - Y = Application.GetRealHeight(78), - Width = Application.GetRealWidth(52), - Height = Application.GetRealWidth(52), - UnSelectedImagePath = "Public/MsgIcon/HangUpIcon.png", - }; - frame.AddChidren(btnHangUpIcon); - btnHangUpIcon.MouseUpEventHandler = (sender, e) => { - HDLLinphone.Current.ShowESVideoMonitor(mESVideoInfo, true,true); - //Com.Hdl.Hdllinphonesdk.HDLLinphoneKit.Instance.HangUp(); - UserInfo.Current.alreadyShowCallInDialog = false; - - - dialog.Close(); - }; - - - Button btnAnswerIcon = new Button() - { - X = Application.GetRealWidth(167), - Y = Application.GetRealHeight(78), - Width = Application.GetRealWidth(52), - Height = Application.GetRealWidth(52), - UnSelectedImagePath = "Public/MsgIcon/AnswerIcon.png", - }; - frame.AddChidren(btnAnswerIcon); - btnAnswerIcon.MouseUpEventHandler = (sender, e) => { - HDLLinphone.Current.ShowESVideoMonitor(mESVideoInfo,true); - UserInfo.Current.alreadyShowCallInDialog = false; - - dialog.Close(); - }; - - - - dialog.Show(); - } - - /// <summary> /// 鍔犺浇鎻愮ず寮圭獥 /// </summary> -- Gitblit v1.8.0