mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 20:08:08 +00:00
203 lines
5.9 KiB
XML
203 lines
5.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout 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:id="@+id/topLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/colorH">
|
|
|
|
<fragment
|
|
android:id="@+id/status"
|
|
android:name="org.linphone.fragments.StatusFragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="30dp"
|
|
tools:layout="@layout/status"/>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/top_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="60dp"
|
|
android:layout_below="@id/status"
|
|
android:layout_gravity="center"
|
|
android:background="@color/colorH"
|
|
android:gravity="center">
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView2"
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:layout_centerInParent="false"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginRight="10dp"
|
|
android:src="@drawable/call_incoming"/>
|
|
|
|
<TextView
|
|
style="@style/font1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_toEndOf="@+id/imageView2"
|
|
android:gravity="center"
|
|
android:text="@string/incoming_call"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/contact_detail"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@id/top_bar"
|
|
android:paddingTop="10dp"
|
|
android:layout_above="@+id/menu">
|
|
|
|
<TextView
|
|
android:id="@+id/contact_name"
|
|
style="@style/font5"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/avatar_layout"
|
|
android:layout_centerHorizontal="true"
|
|
android:gravity="center_vertical|center_horizontal"
|
|
android:paddingTop="5dp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/contact_number"
|
|
style="@style/font2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/contact_name"
|
|
android:layout_centerHorizontal="true"
|
|
android:paddingBottom="10dp"
|
|
android:layout_gravity="center_vertical|center_horizontal" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/avatar_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center"
|
|
android:paddingTop="10dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/contact_picture"
|
|
android:layout_width="225dp"
|
|
android:layout_height="wrap_content"
|
|
android:adjustViewBounds="true"
|
|
android:contentDescription="@string/content_description_contact_picture"
|
|
android:src="@drawable/avatar_big_secure1"/>
|
|
|
|
<ImageView
|
|
android:layout_width="200dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true"
|
|
android:adjustViewBounds="true"
|
|
android:src="@drawable/avatar_mask_border"
|
|
android:visibility="gone"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/menu"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/decline"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/hangup"
|
|
android:contentDescription="@string/content_description_decline"
|
|
android:src="@drawable/call_hangup"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/acceptUnlock"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:background="@color/colorN"
|
|
android:orientation="horizontal"
|
|
android:paddingBottom="10dp"
|
|
android:paddingLeft="10dp"
|
|
android:paddingTop="10dp"
|
|
android:visibility="gone">
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="-15dp"
|
|
android:layout_weight="1.1"
|
|
android:src="@drawable/arrow_accept"/>
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="-15dp"
|
|
android:alpha="0.6"
|
|
android:layout_weight="1.1"
|
|
android:src="@drawable/arrow_accept"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/acceptArrow"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:alpha="0.2"
|
|
android:layout_weight="1.1"
|
|
android:src="@drawable/arrow_accept"/>
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/accept"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/call"
|
|
android:contentDescription="@string/content_description_accept"
|
|
android:src="@drawable/call_audio_start"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/declineUnlock"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:background="@color/colorB"
|
|
android:orientation="horizontal"
|
|
android:paddingBottom="10dp"
|
|
android:paddingLeft="10dp"
|
|
android:paddingTop="10dp"
|
|
android:visibility="gone">
|
|
|
|
<ImageView
|
|
android:id="@+id/arrow_hangup"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:alpha="0.2"
|
|
android:layout_weight="1.1"
|
|
android:src="@drawable/arrow_hangup"/>
|
|
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="-15dp"
|
|
android:alpha="0.6"
|
|
android:layout_weight="1.1"
|
|
android:src="@drawable/arrow_hangup"/>
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="-15dp"
|
|
android:layout_weight="1.1"
|
|
android:src="@drawable/arrow_hangup"/>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|