mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 03:48:08 +00:00
284 lines
9.9 KiB
XML
284 lines
9.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/topLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_alignParentTop="true">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/fragmentContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal" />
|
|
|
|
<TableLayout
|
|
android:id="@+id/calls"
|
|
android:paddingTop="40dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="top" />
|
|
|
|
<fragment
|
|
android:id="@+id/status"
|
|
android:name="org.linphone.StatusFragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="40dp"
|
|
tools:layout="@layout/status" />
|
|
|
|
</FrameLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/switchCamera"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:adjustViewBounds="true"
|
|
android:contentDescription="@string/content_description_switch_camera"
|
|
android:layout_marginTop="40dp"
|
|
android:visibility="invisible"
|
|
android:src="@drawable/switch_camera" />
|
|
|
|
<org.linphone.ui.Numpad
|
|
android:contentDescription="@string/content_description_numpad"
|
|
android:id="@+id/numpad"
|
|
android:background="@drawable/dialer_alt_background"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="invisible"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerVertical="true"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/menu"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:gravity="right"
|
|
android:orientation="vertical" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="invisible"
|
|
android:layout_weight="0.5"/>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="invisible"
|
|
android:layout_weight="0.5"/>
|
|
|
|
<TextView
|
|
android:id="@+id/routeBluetooth"
|
|
android:visibility="invisible"
|
|
android:text="@string/button_bluetooth"
|
|
android:gravity="center"
|
|
android:paddingTop="40dp"
|
|
android:textColor="@drawable/text_incall_button_color"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.5" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="invisible"
|
|
android:layout_weight="0.5"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="invisible"
|
|
android:layout_weight="0.5"/>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="invisible"
|
|
android:layout_weight="0.5"/>
|
|
|
|
<TextView
|
|
android:id="@+id/routeReceiver"
|
|
android:visibility="invisible"
|
|
android:text="@string/button_receiver"
|
|
android:gravity="center"
|
|
android:paddingTop="40dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.5" />
|
|
|
|
<ImageView
|
|
android:id="@+id/transfer"
|
|
android:visibility="invisible"
|
|
android:gravity="center"
|
|
android:paddingTop="40dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.5" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="invisible"
|
|
android:layout_weight="0.5"/>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="invisible"
|
|
android:layout_weight="0.5"/>
|
|
|
|
<TextView
|
|
android:id="@+id/routeSpeaker"
|
|
android:visibility="invisible"
|
|
android:gravity="center"
|
|
android:paddingTop="40dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.5" />
|
|
|
|
<ImageView
|
|
android:id="@+id/addCall"
|
|
android:visibility="invisible"
|
|
android:gravity="center"
|
|
android:paddingTop="40dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.5" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="60dp"
|
|
android:background="@color/colorF"
|
|
android:orientation="horizontal">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_gravity="center">
|
|
|
|
<ImageView
|
|
android:id="@+id/video"
|
|
|
|
android:src="@drawable/camera_default"
|
|
android:layout_width="match_parent"
|
|
android:background="@color/button_addContact"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<ProgressBar
|
|
android:id="@+id/videoInProgress"
|
|
style="?android:attr/progressBarStyle"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerVertical="true"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/micro"
|
|
android:src="@drawable/micro_default"
|
|
android:layout_gravity="center"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/button_addContact"
|
|
android:layout_weight="1" />
|
|
|
|
|
|
<ImageView
|
|
android:id="@+id/speaker"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/speaker_default"
|
|
android:background="@color/button_addContact"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<ImageView
|
|
android:id="@+id/audioRoute"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<ImageView
|
|
android:id="@+id/options"
|
|
android:src="@drawable/options_default"
|
|
android:layout_gravity="center"
|
|
android:background="@color/button_addContact"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="60dp"
|
|
android:layout_gravity="center"
|
|
android:orientation="horizontal" >
|
|
|
|
<ImageView
|
|
android:id="@+id/dialer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:adjustViewBounds="true"
|
|
android:scaleType="center"
|
|
android:background="@color/colorC"
|
|
android:contentDescription="@string/content_description_contacts"
|
|
android:src="@drawable/footer_dialer" />
|
|
|
|
<ImageView
|
|
android:id="@+id/hangUp"
|
|
android:layout_gravity="center"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:adjustViewBounds="true"
|
|
android:layout_weight="0.5"
|
|
android:background="@color/colorD"
|
|
android:contentDescription="@string/content_description_contacts"
|
|
android:src="@drawable/call_hangup" />
|
|
|
|
<ImageView
|
|
android:id="@+id/chat"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:adjustViewBounds="true"
|
|
android:scaleType="center"
|
|
android:background="@color/colorC"
|
|
android:contentDescription="@string/content_description_contacts"
|
|
android:src="@drawable/footer_chat" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|