linphone-android/res/layout-sw533dp-land/dialer.xml
2018-06-21 13:46:28 +02:00

108 lines
3.3 KiB
XML

<?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"
android:background="@color/colorD"
>
<ImageView
android:layout_width="wrap_content"
android:layout_height="300dp"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:layout_marginStart="235dp"
android:src="@drawable/linphone_logo"/>
<RelativeLayout
android:id="@+id/dialer"
android:layout_width="300dp"
android:layout_height="460dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="50dp"
android:background="@color/colorH">
<RelativeLayout
android:id="@+id/address_bar"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_alignParentTop="true"
android:layout_marginBottom="10dp"
android:background="@color/colorF">
<org.linphone.ui.EraseButton
android:id="@+id/erase"
android:layout_width="40dp"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:contentDescription="@string/content_description_backspace"
android:src="@drawable/backspace"/>
<org.linphone.ui.AddressText
android:id="@+id/address"
style="@style/font5"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/erase"
android:background="@color/colorF"
android:ellipsize="start"
android:hint="@string/address_bar_hint"
android:inputType="textEmailAddress"
android:paddingLeft="20dp"
android:paddingRight="5dp"
android:textColorHint="@color/colorE"/>
</RelativeLayout>
<org.linphone.ui.Numpad
android:id="@+id/numpad"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/controls"
android:layout_below="@id/address_bar"
android:layout_centerInParent="true"
android:background="@color/colorB"
android:padding="10dp"/>
<LinearLayout
android:id="@+id/controls"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_alignParentBottom="true">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:adjustViewBounds="true"
android:focusable="true"
android:visibility="gone">
<ImageView
android:id="@+id/add_contact"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="@drawable/toolbar_button"
android:contentDescription="@string/content_description_add_contact"
android:padding="15dp"
android:src="@drawable/contact_add_button"/>
</RelativeLayout>
<org.linphone.ui.CallButton
android:id="@+id/call"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.5"
android:contentDescription="@string/content_description_call"
android:padding="12dp"
android:src="@drawable/call_alt_start_selected"/>
</LinearLayout>
</RelativeLayout>
</RelativeLayout>