anotherim/src/main/res/layout/activity_rtp_session.xml

93 lines
3.7 KiB
XML
Raw Normal View History

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">
2020-04-07 14:17:29 +00:00
<android.support.design.widget.AppBarLayout
2020-04-07 09:36:28 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="16dp"
android:paddingTop="32dp"
2020-04-07 14:17:29 +00:00
android:paddingRight="16dp"
android:paddingBottom="32dp">
2020-04-07 09:36:28 +00:00
<TextView
android:id="@+id/status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2020-04-07 14:17:29 +00:00
android:textAppearance="@style/TextAppearance.Conversations.Title"
android:textColor="@color/white"
tools:text="Incoming call" />
2020-04-07 09:36:28 +00:00
<TextView
android:id="@+id/with"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2020-04-07 14:17:29 +00:00
android:layout_below="@id/status"
2020-04-07 09:36:28 +00:00
android:textAppearance="@style/TextAppearance.Conversations.Display2"
2020-04-07 14:17:29 +00:00
android:textColor="@color/white"
tools:text="Juliet Capulet" />
</android.support.design.widget.AppBarLayout>
2020-04-07 09:36:28 +00:00
<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_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
2020-04-07 14:17:29 +00:00
android:layout_margin="16dp"
2020-04-07 09:36:28 +00:00
android:src="@drawable/ic_call_end_white_48dp"
2020-04-07 14:17:29 +00:00
android:visibility="gone"
2020-04-07 09:36:28 +00:00
app:backgroundTint="@color/red700"
app:elevation="4dp"
app:fabCustomSize="72dp"
2020-04-07 12:22:12 +00:00
app:maxImageSize="36dp"
2020-04-07 14:17:29 +00:00
tools:visibility="visible" />
2020-04-07 12:22:12 +00:00
<android.support.design.widget.FloatingActionButton
android:id="@+id/end_call"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
2020-04-07 14:17:29 +00:00
android:layout_margin="16dp"
2020-04-07 12:22:12 +00:00
android:src="@drawable/ic_call_end_white_48dp"
2020-04-07 14:17:29 +00:00
android:visibility="gone"
2020-04-07 12:22:12 +00:00
app:backgroundTint="@color/red700"
app:elevation="4dp"
app:fabCustomSize="72dp"
2020-04-07 14:17:29 +00:00
app:maxImageSize="36dp" />
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_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
2020-04-07 14:17:29 +00:00
android:layout_margin="16dp"
2020-04-07 09:36:28 +00:00
android:src="@drawable/ic_call_white_48dp"
2020-04-07 14:17:29 +00:00
android:visibility="gone"
2020-04-07 09:36:28 +00:00
app:backgroundTint="@color/green700"
app:elevation="4dp"
app:fabCustomSize="72dp"
2020-04-07 12:22:12 +00:00
app:maxImageSize="36dp"
2020-04-07 14:17:29 +00:00
tools:visibility="visible" />
2020-04-07 09:36:28 +00:00
</RelativeLayout>
</RelativeLayout>
</layout>