<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@android:color/white"
|
android:orientation="vertical">
|
|
<RelativeLayout
|
android:id="@+id/rl_lp_topView"
|
android:layout_width="match_parent"
|
android:background="@color/lpsdk_app_bg"
|
android:layout_height="44dp">
|
|
<TextView
|
android:id="@+id/tv_lp_title"
|
android:layout_width="match_parent"
|
android:layout_height="25dp"
|
android:layout_marginTop="10dp"
|
android:layout_marginLeft="50dp"
|
android:layout_marginRight="50dp"
|
android:gravity="center"
|
android:textColor="@color/lpsdk_textColor"
|
android:textSize="18sp"
|
android:text="室内机"
|
></TextView>
|
|
</RelativeLayout>
|
|
<!-- <org.linphone.mediastream.video.display.GL2JNIView-->
|
<!-- android:id="@+id/video_rendering"-->
|
<!-- android:layout_width="match_parent"-->
|
<!-- android:layout_height="match_parent"/>-->
|
<LinearLayout
|
android:id="@+id/ll_video_lp_rendering"
|
android:layout_width="wrap_content"
|
android:layout_height="210dp"
|
android:background="@android:color/black">
|
<TextureView
|
android:id="@+id/video_lp_rendering"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"/>
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="72dp"
|
android:orientation="horizontal">
|
|
<RelativeLayout
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="match_parent">
|
<ImageView
|
android:id="@+id/iv_lp_screenshot"
|
android:layout_width="40dp"
|
android:layout_height="40dp"
|
android:layout_centerHorizontal="true"
|
android:layout_centerVertical="true"
|
android:scaleType="fitCenter"
|
android:background="@drawable/btn_click_lp_screenshot">
|
|
</ImageView>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="match_parent">
|
<ImageView
|
android:id="@+id/iv_lp_unlock"
|
android:layout_width="40dp"
|
android:layout_height="40dp"
|
android:layout_centerHorizontal="true"
|
android:layout_centerVertical="true"
|
android:scaleType="fitCenter"
|
android:background="@drawable/btn_click_lp_unlock">
|
</ImageView>
|
</RelativeLayout>
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:background="@color/lpsdk_app_line"
|
></View>
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<TextureView
|
android:id="@+id/video_lp_rendering2"
|
android:layout_width="1dp"
|
android:layout_height="1dp"/>
|
|
<!-- <TextView-->
|
<!-- android:id="@+id/tv_lp_calltime"-->
|
<!-- android:layout_width="wrap_content"-->
|
<!-- android:layout_centerHorizontal="true"-->
|
<!-- android:text="00:00"-->
|
<!-- android:textColor="@android:color/white"-->
|
<!-- android:textSize="14sp"-->
|
<!-- android:gravity="center_vertical"-->
|
<!-- android:paddingLeft="38dp"-->
|
<!-- android:paddingRight="38dp"-->
|
<!-- android:layout_marginTop="38dp"-->
|
<!-- android:background="@drawable/lp_calltime_shape"-->
|
<!-- android:visibility="gone"-->
|
<!-- android:layout_height="40dp">-->
|
|
<!-- </TextView>-->
|
<Chronometer
|
android:id="@+id/timer_lp_calltime"
|
android:layout_width="wrap_content"
|
android:layout_centerHorizontal="true"
|
android:format="%s"
|
android:textColor="@android:color/white"
|
android:textSize="14sp"
|
android:gravity="center_vertical"
|
android:paddingLeft="38dp"
|
android:paddingRight="38dp"
|
android:layout_marginTop="38dp"
|
android:background="@drawable/lp_calltime_shape"
|
android:visibility="gone"
|
android:layout_height="40dp">
|
|
</Chronometer>
|
|
<TextView
|
android:id="@+id/tv_lp_calltime"
|
android:layout_width="wrap_content"
|
android:layout_centerHorizontal="true"
|
android:textColor="@android:color/white"
|
android:textSize="14sp"
|
android:gravity="center_vertical"
|
android:paddingLeft="38dp"
|
android:paddingRight="38dp"
|
android:text="@string/lp_callingStr"
|
android:layout_marginTop="38dp"
|
android:background="@drawable/lp_calltime_shape_gray"
|
android:visibility="visible"
|
android:layout_height="40dp">
|
</TextView>
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="98dp"
|
android:layout_alignParentBottom="true"
|
android:layout_marginBottom="53dp">
|
|
<RelativeLayout
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="match_parent">
|
<ImageView
|
android:id="@+id/iv_lp_hangUp"
|
android:layout_width="66dp"
|
android:layout_height="66dp"
|
android:scaleType="fitCenter"
|
android:src="@drawable/ic_esvideo_on_hangup"
|
android:layout_centerHorizontal="true"
|
></ImageView>
|
<TextView
|
android:id="@+id/tv_lp_hangUp"
|
android:layout_width="match_parent"
|
android:layout_height="20dp"
|
android:text="@string/lp_refuseStr"
|
android:gravity="center"
|
android:textColor="@color/lpsdk_textColor"
|
android:textSize="14sp"
|
android:layout_alignParentBottom="true"
|
></TextView>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:id="@+id/rl_lp_answerView"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="match_parent">
|
<ImageView
|
android:id="@+id/iv_lp_answer"
|
android:layout_width="66dp"
|
android:layout_height="66dp"
|
android:scaleType="fitCenter"
|
android:src="@drawable/ic_esvideo_on_answer"
|
android:layout_centerHorizontal="true"
|
></ImageView>
|
<TextView
|
android:id="@+id/tv_lp_answer"
|
android:layout_width="match_parent"
|
android:layout_height="20dp"
|
android:text="@string/lp_answerStr"
|
android:gravity="center"
|
android:textColor="@color/lpsdk_textColor"
|
android:textSize="14sp"
|
android:layout_alignParentBottom="true"
|
></TextView>
|
</RelativeLayout>
|
|
|
</LinearLayout>
|
</RelativeLayout>
|
</LinearLayout>
|