<?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:layout_height="44dp"
|
android:background="@color/lpsdk_app_bg">
|
|
<TextView
|
android:id="@+id/tv_lp_title"
|
android:layout_width="match_parent"
|
android:layout_height="25dp"
|
android:layout_marginLeft="50dp"
|
android:layout_marginTop="10dp"
|
android:layout_marginRight="50dp"
|
android:gravity="center"
|
android:text="室内机"
|
android:textColor="@color/lpsdk_textColor"
|
android:textSize="18sp"/>
|
|
</RelativeLayout>
|
|
<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_height="match_parent"
|
android:layout_weight="1">
|
|
<ImageView
|
android:id="@+id/iv_lp_screenshot"
|
android:layout_width="40dp"
|
android:layout_height="40dp"
|
android:layout_centerHorizontal="true"
|
android:layout_centerVertical="true"
|
android:background="@drawable/btn_click_lp_screenshot"
|
android:scaleType="fitCenter">
|
|
</ImageView>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1">
|
|
<ImageView
|
android:id="@+id/iv_lp_unlock"
|
android:layout_width="40dp"
|
android:layout_height="40dp"
|
android:layout_centerHorizontal="true"
|
android:layout_centerVertical="true"
|
android:background="@drawable/btn_click_lp_unlock"
|
android:scaleType="fitCenter" />
|
</RelativeLayout>
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:background="@color/lpsdk_app_line" />
|
|
<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" />
|
|
<Chronometer
|
android:id="@+id/timer_lp_calltime"
|
android:layout_width="wrap_content"
|
android:layout_height="40dp"
|
android:layout_centerHorizontal="true"
|
android:layout_marginTop="38dp"
|
android:background="@drawable/lp_calltime_shape"
|
android:format="%s"
|
android:gravity="center_vertical"
|
android:paddingLeft="38dp"
|
android:paddingRight="38dp"
|
android:textColor="@android:color/white"
|
android:textSize="14sp"
|
android:visibility="gone">
|
|
</Chronometer>
|
|
<TextView
|
android:id="@+id/tv_lp_calltime"
|
android:layout_width="wrap_content"
|
android:layout_height="40dp"
|
android:layout_centerHorizontal="true"
|
android:layout_marginTop="38dp"
|
android:background="@drawable/lp_calltime_shape_gray"
|
android:gravity="center_vertical"
|
android:paddingLeft="38dp"
|
android:paddingRight="38dp"
|
android:text="@string/lp_callingStr"
|
android:textColor="@android:color/white"
|
android:textSize="14sp"
|
android:visibility="visible" />
|
|
<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_height="match_parent"
|
android:layout_weight="1">
|
|
<ImageView
|
android:id="@+id/iv_lp_hangUp"
|
android:layout_width="66dp"
|
android:layout_height="66dp"
|
android:layout_centerHorizontal="true"
|
android:scaleType="fitCenter"
|
android:src="@drawable/ic_esvideo_on_hangup" />
|
|
<TextView
|
android:id="@+id/tv_lp_hangUp"
|
android:layout_width="match_parent"
|
android:layout_height="20dp"
|
android:layout_alignParentBottom="true"
|
android:gravity="center"
|
android:text="@string/lp_refuseStr"
|
android:textColor="@color/lpsdk_textColor"
|
android:textSize="14sp" />
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:id="@+id/rl_lp_answerView"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1">
|
|
<ImageView
|
android:id="@+id/iv_lp_answer"
|
android:layout_width="66dp"
|
android:layout_height="66dp"
|
android:layout_centerHorizontal="true"
|
android:scaleType="fitCenter"
|
android:src="@drawable/ic_esvideo_on_answer" />
|
|
<TextView
|
android:id="@+id/tv_lp_answer"
|
android:layout_width="match_parent"
|
android:layout_height="20dp"
|
android:layout_alignParentBottom="true"
|
android:gravity="center"
|
android:text="@string/lp_answerStr"
|
android:textColor="@color/lpsdk_textColor"
|
android:textSize="14sp" />
|
</RelativeLayout>
|
|
</LinearLayout>
|
</RelativeLayout>
|
</LinearLayout>
|