2020-04-07 09:36:28 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:background="?colorPrimary"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingRight="16dp"
|
|
|
|
android:paddingTop="32dp"
|
|
|
|
android:paddingBottom="32dp"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/status"
|
|
|
|
tools:text="Incoming call"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="@style/TextAppearance.Conversations.Title"/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/with"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:layout_below="@id/status"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="@style/TextAppearance.Conversations.Display2"
|
|
|
|
tools:text="Juliet Capulet"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="288dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_marginBottom="24dp">
|
|
|
|
|
|
|
|
<android.support.design.widget.FloatingActionButton
|
|
|
|
android:id="@+id/reject_call"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:src="@drawable/ic_call_end_white_48dp"
|
|
|
|
app:backgroundTint="@color/red700"
|
|
|
|
app:elevation="4dp"
|
|
|
|
app:fabCustomSize="72dp"
|
2020-04-07 12:22:12 +00:00
|
|
|
app:maxImageSize="36dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible"/>
|
|
|
|
|
|
|
|
<android.support.design.widget.FloatingActionButton
|
|
|
|
android:id="@+id/end_call"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:src="@drawable/ic_call_end_white_48dp"
|
|
|
|
app:backgroundTint="@color/red700"
|
|
|
|
app:elevation="4dp"
|
|
|
|
app:fabCustomSize="72dp"
|
|
|
|
app:maxImageSize="36dp"
|
|
|
|
android:visibility="gone"/>
|
2020-04-07 09:36:28 +00:00
|
|
|
|
|
|
|
<android.support.design.widget.FloatingActionButton
|
|
|
|
android:id="@+id/accept_call"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:src="@drawable/ic_call_white_48dp"
|
|
|
|
app:backgroundTint="@color/green700"
|
|
|
|
app:elevation="4dp"
|
|
|
|
app:fabCustomSize="72dp"
|
2020-04-07 12:22:12 +00:00
|
|
|
app:maxImageSize="36dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible"/>
|
2020-04-07 09:36:28 +00:00
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
</layout>
|