mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-19 04:28:08 +00:00
117 lines
3.3 KiB
XML
117 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/topLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/background">
|
|
|
|
<include layout="@layout/status" android:id="@+id/statusBar" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="60dp"
|
|
android:layout_below="@id/statusBar"
|
|
android:background="@color/colorF">
|
|
|
|
<TextView
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:textColor="@color/colorA"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:text="@string/incoming"
|
|
android:textAllCaps="true"
|
|
android:paddingLeft="10dp"
|
|
android:gravity="center"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@id/toolbar"
|
|
android:orientation="vertical"
|
|
android:layout_above="@id/menu">
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/incoming_caller_profile"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical"
|
|
android:paddingTop="10dp"
|
|
android:weightSum="1">
|
|
|
|
<ImageView
|
|
android:id="@+id/incoming_picture"
|
|
android:layout_width="259dp"
|
|
android:layout_height="207dp"
|
|
android:src="@drawable/avatar"
|
|
android:paddingBottom="10dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_weight="1.30"/>
|
|
|
|
<TextView
|
|
android:id="@+id/incoming_caller_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:textAlignment="center"
|
|
android:layout_marginBottom="20dp"
|
|
android:textColor="@android:color/black"
|
|
android:textSize="28sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/incoming_caller_number"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="40dp"
|
|
android:textColor="@android:color/black"
|
|
android:textSize="28sp"
|
|
android:layout_gravity="center_horizontal"/>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<org.linphone.mediastream.video.display.GL2JNIView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dip"
|
|
android:layout_weight="1"
|
|
android:id="@+id/videoSurface"
|
|
android:visibility="gone" />
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/menu"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="80dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_alignParentLeft="true"
|
|
android:orientation="horizontal" >
|
|
|
|
<ImageView
|
|
android:id="@+id/accept"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="@color/colorD"
|
|
android:adjustViewBounds="true"
|
|
android:contentDescription="@string/content_description_pause"
|
|
android:scaleType="center"
|
|
android:src="@drawable/call_audio_start" />
|
|
|
|
<ImageView
|
|
android:id="@+id/decline"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="@color/footer_select"
|
|
android:adjustViewBounds="true"
|
|
android:contentDescription="@string/content_description_pause"
|
|
android:scaleType="center"
|
|
android:src="@drawable/call_hangup" />
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|