blob: 02c8a9e0fc38c73db3b32dea0a91c01f66136c40 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?><!--
Copyright (C) 2004-2016 Savoir-faire Linux Inc.
Author: Adrien BĂ©raud <adrien.beraud@savoirfairelinux.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="end|bottom"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:descendantFocusability="blocksDescendants"
android:focusable="false"
android:paddingLeft="16dp"
android:paddingRight="16dp">
<ImageView
android:id="@+id/imageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="8dp"
android:layout_toStartOf="@id/contactDetailsGroup"
android:src="@drawable/baseline_person_24" />
<LinearLayout
android:id="@+id/contactDetailsGroup"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:layout_marginEnd="8dp"
android:orientation="vertical"
android:paddingTop="4dp"
android:paddingBottom="4dp">
<TextView
android:id="@+id/contact_event_txt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:singleLine="false"
android:textColor="@color/conversation_secondary_background"
android:textSize="14sp"
tools:text="@string/hist_contact_added" />
<TextView
android:id="@+id/contact_event_details_txt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/conversation_secondary_background"
android:textSize="12sp"
tools:text="Adrien - 12 mars" />
</LinearLayout>
</RelativeLayout>