From 83d5ada866a598ee868d3e23624d104d1027db29 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 27 八月 2024 15:28:42 +0800
Subject: [PATCH] 增加挂断功能

---
 HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/res/layout/activity_hdllinphone_intercom.xml |   33 ++++++++++++++++++++++++++++++---
 1 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/res/layout/activity_hdllinphone_intercom.xml b/HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/res/layout/activity_hdllinphone_intercom.xml
index 0306a53..a579820 100644
--- a/HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/res/layout/activity_hdllinphone_intercom.xml
+++ b/HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/res/layout/activity_hdllinphone_intercom.xml
@@ -8,8 +8,9 @@
     <RelativeLayout
         android:id="@+id/rl_lp_topView"
         android:layout_width="match_parent"
-        android:layout_height="44dp"
-        android:background="@color/lpsdk_app_bg">
+        android:background="@color/lpsdk_app_bg"
+        android:paddingTop="40dp"
+        android:layout_height="84dp">
 
         <TextView
             android:id="@+id/tv_lp_title"
@@ -130,6 +131,32 @@
             android:layout_marginBottom="53dp">
 
             <RelativeLayout
+                android:id="@+id/rl_lp_hangUp_all"
+                android:layout_width="0dp"
+                android:layout_height="match_parent"
+                android:layout_weight="1">
+
+                <ImageView
+                    android:id="@+id/iv_lp_hangUp_all"
+                    android:layout_width="66dp"
+                    android:layout_height="66dp"
+                    android:layout_centerHorizontal="true"
+                    android:scaleType="fitCenter"
+                    android:src="@drawable/ic_esvideo_on_hangup_all" />
+
+                <TextView
+                    android:id="@+id/tv_lp_hangUp_all"
+                    android:layout_width="match_parent"
+                    android:layout_height="20dp"
+                    android:layout_alignParentBottom="true"
+                    android:gravity="center"
+                    android:text="@string/lp_hangupStr_all"
+                    android:textColor="@color/lpsdk_textColor"
+                    android:textSize="14sp" />
+
+            </RelativeLayout>
+
+            <RelativeLayout
                 android:layout_width="0dp"
                 android:layout_height="match_parent"
                 android:layout_weight="1">
@@ -148,7 +175,7 @@
                     android:layout_height="20dp"
                     android:layout_alignParentBottom="true"
                     android:gravity="center"
-                    android:text="@string/lp_refuseStr"
+                    android:text="@string/lp_hangupPhoneStr"
                     android:textColor="@color/lpsdk_textColor"
                     android:textSize="14sp" />
 

--
Gitblit v1.8.0