mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-20 13:08:07 +00:00
88 lines
No EOL
2.7 KiB
XML
88 lines
No EOL
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/list_selector"
|
|
android:gravity="center_vertical"
|
|
android:orientation="vertical" >
|
|
|
|
<TextView
|
|
android:id="@+id/separator"
|
|
android:paddingLeft="10dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="30dp"
|
|
android:textSize="20sp"
|
|
android:background="@color/background"
|
|
android:textColor="@color/colorA"
|
|
android:textStyle="bold"
|
|
android:textAllCaps="true"
|
|
android:gravity="center"/>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="40dp"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center_vertical">
|
|
|
|
<ImageView
|
|
android:id="@+id/contact_picture"
|
|
android:contentDescription="@string/content_description_contact_picture"
|
|
android:src="@drawable/avatar"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:adjustViewBounds="true"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_marginLeft="5dp"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/icon"
|
|
android:contentDescription="@string/content_description_call_direction"
|
|
android:padding="5dp"
|
|
android:layout_toRightOf="@id/contact_picture"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:adjustViewBounds="true"
|
|
android:src="@drawable/call_status_incoming"
|
|
android:layout_marginLeft="5dp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/sipUri"
|
|
android:lines="1"
|
|
android:textSize="30sp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_toRightOf="@id/icon"
|
|
android:ellipsize="marquee"
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
android:scrollHorizontally="true"
|
|
android:fadingEdge="horizontal"
|
|
android:singleLine="true"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:textColor="@color/text_contrast"
|
|
android:layout_marginLeft="10dp" />
|
|
|
|
<ImageView
|
|
android:id="@+id/detail"
|
|
android:contentDescription="@string/content_description_detail"
|
|
android:src="@drawable/list_detail"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_alignParentRight="true"
|
|
android:adjustViewBounds="true"
|
|
android:paddingLeft="5dp"
|
|
android:paddingRight="5dp"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/delete"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:adjustViewBounds="true"
|
|
android:contentDescription="@string/content_description_delete"
|
|
android:paddingLeft="5dp"
|
|
android:paddingRight="5dp"
|
|
android:src="@drawable/list_delete"
|
|
android:visibility="gone" />
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout> |