blob: 8c86c3766b4865a5478beaec563e87d75aea8d98 [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"
Pierre Duchemina5529292017-12-18 17:25:54 -050022 xmlns:app="http://schemas.android.com/apk/res-auto"
23 xmlns:tools="http://schemas.android.com/tools"
Adrien Béraud159fdba2015-10-21 16:39:42 -040024 android:id="@+id/call_entry"
25 android:layout_width="match_parent"
26 android:layout_height="56dp"
27 android:descendantFocusability="blocksDescendants"
28 android:padding="8dp">
29
30 <ImageView
Adrien Béraudb968c2e2015-11-20 12:08:31 -050031 android:id="@+id/number_icon"
Adrien Béraud159fdba2015-10-21 16:39:42 -040032 android:layout_width="wrap_content"
33 android:layout_height="wrap_content"
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"
Pierre Duchemina5529292017-12-18 17:25:54 -050038 app:srcCompat="@drawable/ic_dialer_sip_black" />
Adrien Béraud159fdba2015-10-21 16:39:42 -040039
40 <TextView
41 android:id="@+id/number_txt"
Romain Bertozzi306a5992016-05-10 15:53:22 -040042 android:layout_width="match_parent"
Adrien Béraud159fdba2015-10-21 16:39:42 -040043 android:layout_height="wrap_content"
Adrien Béraudb968c2e2015-11-20 12:08:31 -050044 android:layout_alignParentTop="true"
Pierre Duchemina5529292017-12-18 17:25:54 -050045 android:layout_marginEnd="8dp"
Adrien Béraudb968c2e2015-11-20 12:08:31 -050046 android:layout_marginTop="2dp"
Pierre Duchemina5529292017-12-18 17:25:54 -050047 android:layout_toEndOf="@+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éraudb968c2e2015-11-20 12:08:31 -050052 android:textColor="@color/text_color_primary"
Romain Bertozzi306a5992016-05-10 15:53:22 -040053 android:textSize="16sp"
Pierre Duchemina5529292017-12-18 17:25:54 -050054 tools:text="+15142792035" />
Adrien Béraud159fdba2015-10-21 16:39:42 -040055
56 <TextView
57 android:id="@+id/number_label_txt"
Romain Bertozzi306a5992016-05-10 15:53:22 -040058 android:layout_width="match_parent"
Adrien Béraud159fdba2015-10-21 16:39:42 -040059 android:layout_height="wrap_content"
Adrien Béraud159fdba2015-10-21 16:39:42 -040060 android:layout_below="@+id/number_txt"
Pierre Duchemina5529292017-12-18 17:25:54 -050061 android:layout_marginEnd="8dp"
Adrien Béraudb968c2e2015-11-20 12:08:31 -050062 android:layout_toEndOf="@+id/number_icon"
Adrien Béraudb968c2e2015-11-20 12:08:31 -050063 android:textColor="@color/text_color_secondary"
Romain Bertozzi306a5992016-05-10 15:53:22 -040064 android:textSize="12sp"
Pierre Duchemina5529292017-12-18 17:25:54 -050065 tools:text="Inde" />
Adrien Béraud159fdba2015-10-21 16:39:42 -040066
67</RelativeLayout>