hh_expert_calling_layout.xml 3 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:background="#ff282828"
    android:layout_width="match_parent" android:layout_height="match_parent">



    <ImageView
        android:id="@+id/expert_icon"
        android:layout_marginTop="120dp"
        android:layout_centerHorizontal="true"
        android:layout_width="190dp"
        android:layout_height="190dp"
        android:contentDescription="@string/hh_sdk_image_name" />




    <TextView
        android:layout_below="@+id/expert_icon"
        android:layout_centerHorizontal="true"
        android:id="@+id/expert_name"
        android:layout_marginTop="12dp"
        android:text="@string/hh_sdk_image_name"
        android:textSize="22sp"
        android:textColor="@android:color/white"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />



    <RelativeLayout
        android:layout_below="@+id/expert_name"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="@dimen/dp_6"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">


        <TextView
            android:id="@+id/expert_des"
            android:layout_centerHorizontal="true"
            android:text="@string/hh_av_accept_show_hint"
            android:textSize="13.0sp"
            android:textColor="@android:color/white"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content" />


        <com.hhmedic.android.sdk.uikit.widget.WaitView
            android:layout_width="wrap_content"
            android:layout_toEndOf="@+id/expert_des"
            android:textColor="@android:color/white"
            android:layout_marginStart="@dimen/dp_6"
            android:id="@+id/expert_wait"
            android:layout_height="wrap_content" />



    </RelativeLayout>



    <RelativeLayout
        android:layout_alignParentBottom="true"
        android:paddingEnd="@dimen/hh_callback_padding"
        android:paddingStart="@dimen/hh_callback_padding"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">


        <Button
            android:id="@+id/expert_refuse"
            android:drawableTop="@drawable/hh_av_refuse_btn_bg"
            style="@style/hh_av_btn"
            android:text="@string/hh_av_refuse_btn"
            android:focusedByDefault="false"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content">
        </Button>


        <Button
            android:id="@+id/expert_accept"
            android:text="@string/hh_av_accept_btn"
            android:layout_alignParentEnd="true"
            android:drawableTop="@drawable/hh_av_accept_btn_bg"
            style="@style/hh_av_btn"
            android:focusedByDefault="true"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content">
            <requestFocus/>
        </Button>


    </RelativeLayout>



</RelativeLayout>