<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:layout_height="wrap_content">
|
|
<ImageView
|
android:id="@+id/icon_screenshot"
|
android:layout_width="36dp"
|
android:layout_height="36dp"
|
android:layout_marginTop="5dp"
|
android:layout_marginBottom="5dp"
|
android:contentDescription="截图"
|
android:src="@drawable/screenshot"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:gravity="center">
|
|
<ImageView
|
android:id="@+id/icon_unlock"
|
android:layout_width="36dp"
|
android:layout_height="36dp"
|
android:layout_marginBottom="6dp"
|
android:layout_marginTop="6dp"
|
android:contentDescription="开锁"
|
android:src="@drawable/unlock" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:background="@color/color_disable"/>
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<TextView
|
android:id="@+id/tv_tip"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerHorizontal="true"
|
android:layout_marginTop="30dp"
|
android:background="@drawable/tip_background"
|
android:textColor="@android:color/white"
|
android:textSize="15sp"
|
android:text="来电中..."/>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:orientation="horizontal">
|
|
<RelativeLayout
|
android:id="@+id/rl_hangup"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content">
|
|
<ImageView
|
android:id="@+id/img_hangup"
|
android:layout_width="58dp"
|
android:layout_height="58dp"
|
android:layout_centerHorizontal="true"
|
android:src="@drawable/hangup"/>
|
|
<TextView
|
android:id="@+id/tv_hangup"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="拒接"
|
android:textSize="15sp"
|
android:layout_marginTop="10dp"
|
android:layout_centerHorizontal="true"
|
android:textColor="@color/text_color"
|
android:layout_below="@id/img_hangup"/>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:id="@+id/rl_call"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true">
|
|
<ImageView
|
android:id="@+id/img_call"
|
android:layout_width="58dp"
|
android:layout_height="58dp"
|
android:layout_centerHorizontal="true"
|
android:src="@drawable/call"/>
|
|
<TextView
|
android:id="@+id/tv_call"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="接听"
|
android:textSize="15sp"
|
android:layout_marginTop="10dp"
|
android:layout_centerHorizontal="true"
|
android:textColor="@color/text_color"
|
android:layout_below="@id/img_call"/>
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
</LinearLayout>
|