<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:id="@+id/top_bar"
|
android:layout_width="match_parent"
|
android:layout_height="60dp"
|
android:background="?attr/lighToolbarBackgroundColor"
|
android:orientation="horizontal">
|
|
<ImageView
|
android:id="@+id/back"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="0.2"
|
android:background="?attr/button_background_drawable"
|
android:contentDescription="@string/content_description_back"
|
android:padding="18dp"
|
android:src="@drawable/back" />
|
|
<View
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="0.6" />
|
|
<ImageView
|
android:id="@+id/add_contact"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="0.2"
|
android:background="?attr/button_background_drawable"
|
android:contentDescription="@string/content_description_add_contact"
|
android:padding="15dp"
|
android:src="@drawable/contact_add" />
|
|
<ImageView
|
android:id="@+id/goto_contact"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="0.2"
|
android:background="?attr/button_background_drawable"
|
android:contentDescription="@string/content_description_contacts"
|
android:padding="15dp"
|
android:src="@drawable/contact"
|
android:visibility="gone" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:paddingTop="5dp"
|
android:paddingBottom="5dp">
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center">
|
|
<include layout="@layout/contact_avatar_100"/>
|
|
</RelativeLayout>
|
|
<TextView
|
android:id="@+id/contact_name"
|
style="@style/big_contact_name_font"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center_horizontal" />
|
|
<org.linphone.views.MarqueeTextView
|
android:id="@+id/contact_address"
|
style="@style/sip_uri_font"
|
android:singleLine="true"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:orientation="horizontal">
|
|
<ImageView
|
android:id="@+id/call"
|
android:layout_width="60dp"
|
android:layout_height="60dp"
|
android:layout_margin="10dp"
|
android:background="@drawable/round_orange_button_background"
|
android:contentDescription="@string/content_description_call"
|
android:src="@drawable/call_start_default" />
|
|
<ImageView
|
android:id="@+id/chat"
|
android:layout_width="60dp"
|
android:layout_height="60dp"
|
android:layout_margin="10dp"
|
android:background="@drawable/round_orange_button_background"
|
android:contentDescription="@string/content_description_chat"
|
android:src="@drawable/chat_start_default" />
|
|
<RelativeLayout
|
android:id="@+id/chat_secured"
|
android:layout_width="65dp"
|
android:layout_height="60dp"
|
android:layout_margin="10dp">
|
|
<ImageView
|
android:layout_width="60dp"
|
android:layout_height="60dp"
|
android:layout_alignParentLeft="true"
|
android:layout_centerVertical="true"
|
android:background="@drawable/round_orange_button_background"
|
android:contentDescription="@string/content_description_chat"
|
android:src="@drawable/chat_start_default" />
|
|
<ImageView
|
android:layout_width="20dp"
|
android:layout_height="20dp"
|
android:layout_alignParentTop="true"
|
android:layout_alignParentRight="true"
|
android:src="@drawable/security_toogle_icon_green" />
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
|
<View
|
android:layout_width="wrap_content"
|
android:layout_height="1dp"
|
android:background="?attr/dividerColor" />
|
|
<TextView
|
style="@style/assistant_input_field_header_font"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_marginTop="5dp"
|
android:text="@string/calls"
|
android:textAllCaps="true" />
|
|
<ListView
|
android:id="@+id/logs_list"
|
android:cacheColorHint="@color/transparent_color"
|
android:divider="@android:color/transparent"
|
android:dividerHeight="0dp"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<include
|
android:id="@+id/waitScreen"
|
layout="@layout/wait_layout" />
|
|
</RelativeLayout>
|