<?xml version="1.0" encoding="utf-8"?>
<merge 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"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="?colorPrimary"
    android:foreground="?attr/selectableItemBackground"
    tools:parentTag="android.widget.RelativeLayout">

    <TextView
        android:id="@+id/currentCallsInfo"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_toStartOf="@id/returnToCallButton"
        android:drawablePadding="10dp"
        android:gravity="center_vertical"
        android:paddingStart="16dp"
        android:paddingTop="12dp"
        android:paddingEnd="16dp"
        android:paddingBottom="12dp"
        android:textSize="14sp"
        android:text="@string/call_only_active"
        android:textColor="@color/white"
        app:drawableTint="@color/white"
        app:drawableStartCompat="@drawable/ic_call_answer" />

    <com.google.android.material.button.MaterialButton
        android:id="@+id/returnToCallButton"
        style="@style/Widget.MaterialComponents.Button.TextButton"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignTop="@+id/currentCallsInfo"
        android:layout_alignBottom="@+id/currentCallsInfo"
        android:layout_alignParentEnd="true"
        android:clickable="false"
        android:focusable="false"
        android:gravity="center"
        android:paddingStart="8dp"
        android:paddingEnd="16dp"
        android:text="@string/action_return"
        android:textColor="@color/white"
        android:textSize="14sp"
        android:textStyle="bold" />

</merge>
