linphone-android/res/layout/incall.xml
2012-08-06 13:09:51 +02:00

196 lines
7.1 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">
<LinearLayout
android:id="@+id/fragmentContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal" />
<ImageView
android:id="@+id/switchCamera"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:contentDescription="@string/content_description_switch_camera"
android:layout_marginTop="20dp"
android:visibility="invisible"
android:src="@drawable/switch_camera" />
<fragment
android:id="@+id/status"
android:name="org.linphone.StatusFragment"
android:layout_alignParentTop="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:layout="@layout/status" />
<org.linphone.ui.Numpad
android:id="@+id/numpad"
android:background="@drawable/dialer_alt_background"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:visibility="invisible"
android:layout_below="@id/switchCamera"
android:layout_marginBottom="150dp" />
<LinearLayout
android:id="@+id/menu"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:visibility="gone"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="horizontal" >
<View
android:layout_width="match_parent"
android:layout_height="75dp"
android:layout_weight="1"
android:visibility="invisible" />
<View
android:layout_width="match_parent"
android:layout_height="75dp"
android:layout_weight="1"
android:visibility="invisible" />
<View
android:layout_width="match_parent"
android:layout_height="75dp"
android:layout_weight="1"
android:visibility="invisible" />
<ImageView
android:id="@+id/transfer"
android:layout_width="match_parent"
android:layout_height="75dp"
android:layout_weight="1"
android:scaleType="fitXY"
android:src="@drawable/options_transfer"
android:visibility="invisible" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="horizontal" >
<View
android:layout_width="match_parent"
android:layout_height="75dp"
android:layout_weight="1"
android:visibility="invisible" />
<View
android:layout_width="match_parent"
android:layout_height="75dp"
android:layout_weight="1"
android:visibility="invisible" />
<View
android:layout_width="match_parent"
android:layout_height="75dp"
android:layout_weight="1"
android:visibility="invisible" />
<ImageView
android:id="@+id/addCall"
android:layout_width="match_parent"
android:layout_height="75dp"
android:layout_weight="1"
android:scaleType="fitXY"
android:src="@drawable/options_add_call_alt"
android:visibility="invisible" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="horizontal" >
<ImageView
android:id="@+id/video"
android:layout_width="match_parent"
android:layout_height="75dp"
android:layout_weight="1"
android:contentDescription="@string/content_description_switch_video"
android:scaleType="fitXY"
android:src="@drawable/video_off" />
<ImageView
android:id="@+id/micro"
android:layout_width="match_parent"
android:layout_height="75dp"
android:layout_weight="1"
android:contentDescription="@string/content_description_toggle_micro"
android:scaleType="fitXY"
android:src="@drawable/micro_on" />
<ImageView
android:id="@+id/speaker"
android:layout_width="match_parent"
android:layout_height="75dp"
android:layout_weight="1"
android:contentDescription="@string/content_description_toggle_speaker"
android:scaleType="fitXY"
android:src="@drawable/speaker_off" />
<ImageView
android:id="@+id/options"
android:layout_width="match_parent"
android:layout_height="75dp"
android:layout_weight="1"
android:scaleType="fitXY"
android:src="@drawable/options" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="75dp"
android:layout_weight="1"
android:orientation="horizontal" >
<ImageView
android:id="@+id/pause"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:contentDescription="@string/content_description_pause"
android:scaleType="fitXY"
android:src="@drawable/pause_off" />
<ImageView
android:id="@+id/hangUp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:contentDescription="@string/content_description_hang_up"
android:scaleType="fitXY"
android:src="@drawable/hangup" />
<ImageView
android:id="@+id/dialer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:contentDescription="@string/content_description_numpad"
android:scaleType="fitXY"
android:src="@drawable/dialer_alt" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>