|
@@ -0,0 +1,137 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<layout>
|
|
|
+ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/gray_deep">
|
|
|
+ <!--全屏视频画面-->
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/fullscreen_video_frame"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:visibility="gone"/>
|
|
|
+
|
|
|
+ <!--小窗视频画面-->
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/pip_video_frame"
|
|
|
+ android:layout_width="300dp"
|
|
|
+ android:layout_height="420dp"
|
|
|
+ android:layout_gravity="top|end"
|
|
|
+ android:layout_marginHorizontal="10dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:visibility="gone"/>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <!--语音呼叫layout-->
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_voice_call"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <!--<ImageView
|
|
|
+ android:id="@+id/sky_voice_call_head_img"
|
|
|
+ android:layout_width="120dp"
|
|
|
+ android:layout_height="120dp"
|
|
|
+ android:layout_marginTop="80dp"
|
|
|
+ android:scaleType="centerInside"
|
|
|
+ android:src="@drawable/ic_nurse" />-->
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/sky_voice_call_calling_text"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="24dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="正在呼叫..."
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="32sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/sky_voice_call_timeout"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="24dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="倒计时: 00"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="28sp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <!--呼出-->
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/sky_voice_call_outgoing"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginBottom="80dp"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:visibility="visible">
|
|
|
+
|
|
|
+ <Chronometer
|
|
|
+ android:id="@+id/sky_voice_call_timer"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="00:00"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="24sp" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/sky_voice_call_hangup"
|
|
|
+ android:layout_width="100dp"
|
|
|
+ android:layout_height="100dp"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:src="@drawable/selector_call_hangup" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <!--来电-->
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/sky_voice_call_incoming"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="140dp"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginBottom="80dp"
|
|
|
+ android:gravity="bottom"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:visibility="gone">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_weight="2" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/sky_voice_call_ring_reject"
|
|
|
+ android:layout_width="100dp"
|
|
|
+ android:layout_height="100dp"
|
|
|
+ android:src="@drawable/selector_call_hangup" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_weight="1" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/sky_voice_call_ring_pickup_audio"
|
|
|
+ android:layout_width="100dp"
|
|
|
+ android:layout_height="100dp"
|
|
|
+ android:src="@drawable/selector_call_answer" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_weight="2" />
|
|
|
+ </LinearLayout>
|
|
|
+ </RelativeLayout>
|
|
|
+ </FrameLayout>
|
|
|
+</layout>
|