<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:id="@+id/layout"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:id="@+id/separator"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
|
<ImageView
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:background="?attr/dividerColor" />
|
|
</LinearLayout>
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:layout_margin="5dp"
|
android:gravity="center_vertical">
|
|
<RelativeLayout
|
android:id="@+id/avatar"
|
android:layout_width="wrap_content"
|
android:layout_height="match_parent"
|
android:gravity="center">
|
|
<include layout="@layout/contact_avatar" />
|
|
</RelativeLayout>
|
|
<TextView
|
android:id="@+id/time"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="10dp" />
|
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:layout_marginLeft="10dp"
|
android:layout_marginRight="5dp"
|
android:layout_toLeftOf="@id/time"
|
android:layout_toRightOf="@id/avatar"
|
android:orientation="vertical">
|
|
<org.linphone.views.MarqueeTextView
|
android:id="@+id/name"
|
style="@style/contact_name_list_cell_font"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:singleLine="true" />
|
|
<org.linphone.views.MarqueeTextView
|
android:id="@+id/sipUri"
|
style="@style/sip_uri_small_font"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:singleLine="true" />
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
</LinearLayout>
|