blob: 782b59025e947f8b051daba485573f627cfef45d [file] [log] [blame]
Adrien Béraudb968c2e2015-11-20 12:08:31 -05001<?xml version="1.0" encoding="utf-8"?><!--
Adrien Béraudec528bb2016-01-14 16:52:51 -05002Copyright (C) 2004-2016 Savoir-faire Linux Inc.
Adrien Béraud159fdba2015-10-21 16:39:42 -04003
4Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com>
5
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 3 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19-->
20
21<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
22 xmlns:tools="http://schemas.android.com/tools"
23 android:id="@+id/call_entry"
24 android:layout_width="match_parent"
25 android:layout_height="56dp"
26 android:descendantFocusability="blocksDescendants"
27 android:padding="8dp">
28
29 <ImageView
Adrien Béraudb968c2e2015-11-20 12:08:31 -050030 android:id="@+id/number_icon"
Adrien Béraud159fdba2015-10-21 16:39:42 -040031 android:layout_width="wrap_content"
32 android:layout_height="wrap_content"
Adrien Béraud159fdba2015-10-21 16:39:42 -040033 android:layout_alignParentLeft="true"
Adrien Béraud159fdba2015-10-21 16:39:42 -040034 android:layout_alignParentStart="true"
Adrien Béraudb968c2e2015-11-20 12:08:31 -050035 android:layout_alignParentTop="false"
36 android:layout_centerVertical="true"
Adrien Béraud159fdba2015-10-21 16:39:42 -040037 android:layout_marginEnd="8dp"
38 android:layout_marginRight="8dp"
Adrien Béraudb968c2e2015-11-20 12:08:31 -050039 android:src="@drawable/ic_dialer_sip_black_24dp" />
Adrien Béraud159fdba2015-10-21 16:39:42 -040040
41 <TextView
42 android:id="@+id/number_txt"
Romain Bertozzi306a5992016-05-10 15:53:22 -040043 android:layout_width="match_parent"
Adrien Béraud159fdba2015-10-21 16:39:42 -040044 android:layout_height="wrap_content"
Adrien Béraudb968c2e2015-11-20 12:08:31 -050045 android:layout_alignParentTop="true"
46 android:layout_marginTop="2dp"
47 android:layout_toRightOf="@+id/number_icon"
Adrien Béraud159fdba2015-10-21 16:39:42 -040048 android:ellipsize="marquee"
49 android:marqueeRepeatLimit="marquee_forever"
50 android:scrollHorizontally="true"
51 android:singleLine="true"
Adrien Béraud159fdba2015-10-21 16:39:42 -040052 android:text="+15142792035"
Adrien Béraudb968c2e2015-11-20 12:08:31 -050053 android:textColor="@color/text_color_primary"
Romain Bertozzi306a5992016-05-10 15:53:22 -040054 android:textSize="16sp"
55 android:layout_marginRight="8dp" />
Adrien Béraud159fdba2015-10-21 16:39:42 -040056
57 <TextView
58 android:id="@+id/number_label_txt"
Romain Bertozzi306a5992016-05-10 15:53:22 -040059 android:layout_width="match_parent"
Adrien Béraud159fdba2015-10-21 16:39:42 -040060 android:layout_height="wrap_content"
Adrien Béraud159fdba2015-10-21 16:39:42 -040061 android:layout_below="@+id/number_txt"
Adrien Béraudb968c2e2015-11-20 12:08:31 -050062 android:layout_toEndOf="@+id/number_icon"
Adrien Béraud159fdba2015-10-21 16:39:42 -040063 android:layout_toRightOf="@+id/number_icon"
Adrien Béraudb968c2e2015-11-20 12:08:31 -050064 android:text="Inde"
65 android:textColor="@color/text_color_secondary"
Romain Bertozzi306a5992016-05-10 15:53:22 -040066 android:textSize="12sp"
67 android:layout_marginRight="8dp" />
Adrien Béraud159fdba2015-10-21 16:39:42 -040068
69</RelativeLayout>