Adrien Béraud | b968c2e | 2015-11-20 12:08:31 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?><!-- |
Adrien Béraud | ec528bb | 2016-01-14 16:52:51 -0500 | [diff] [blame] | 2 | Copyright (C) 2004-2016 Savoir-faire Linux Inc. |
Adrien Béraud | 159fdba | 2015-10-21 16:39:42 -0400 | [diff] [blame] | 3 | |
| 4 | Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com> |
| 5 | |
| 6 | This program is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by |
| 8 | the Free Software Foundation; either version 3 of the License, or |
| 9 | (at your option) any later version. |
| 10 | |
| 11 | This program is distributed in the hope that it will be useful, |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | GNU General Public License for more details. |
| 15 | |
| 16 | You should have received a copy of the GNU General Public License |
| 17 | along 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 Duchemin | a552929 | 2017-12-18 17:25:54 -0500 | [diff] [blame] | 22 | xmlns:app="http://schemas.android.com/apk/res-auto" |
| 23 | xmlns:tools="http://schemas.android.com/tools" |
Adrien Béraud | 159fdba | 2015-10-21 16:39:42 -0400 | [diff] [blame] | 24 | 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éraud | b968c2e | 2015-11-20 12:08:31 -0500 | [diff] [blame] | 31 | android:id="@+id/number_icon" |
Adrien Béraud | 159fdba | 2015-10-21 16:39:42 -0400 | [diff] [blame] | 32 | android:layout_width="wrap_content" |
| 33 | android:layout_height="wrap_content" |
Adrien Béraud | 159fdba | 2015-10-21 16:39:42 -0400 | [diff] [blame] | 34 | android:layout_alignParentStart="true" |
Adrien Béraud | b968c2e | 2015-11-20 12:08:31 -0500 | [diff] [blame] | 35 | android:layout_alignParentTop="false" |
| 36 | android:layout_centerVertical="true" |
Adrien Béraud | 159fdba | 2015-10-21 16:39:42 -0400 | [diff] [blame] | 37 | android:layout_marginEnd="8dp" |
Pierre Duchemin | a552929 | 2017-12-18 17:25:54 -0500 | [diff] [blame] | 38 | app:srcCompat="@drawable/ic_dialer_sip_black" /> |
Adrien Béraud | 159fdba | 2015-10-21 16:39:42 -0400 | [diff] [blame] | 39 | |
| 40 | <TextView |
| 41 | android:id="@+id/number_txt" |
Romain Bertozzi | 306a599 | 2016-05-10 15:53:22 -0400 | [diff] [blame] | 42 | android:layout_width="match_parent" |
Adrien Béraud | 159fdba | 2015-10-21 16:39:42 -0400 | [diff] [blame] | 43 | android:layout_height="wrap_content" |
Adrien Béraud | b968c2e | 2015-11-20 12:08:31 -0500 | [diff] [blame] | 44 | android:layout_alignParentTop="true" |
Pierre Duchemin | a552929 | 2017-12-18 17:25:54 -0500 | [diff] [blame] | 45 | android:layout_marginEnd="8dp" |
Adrien Béraud | b968c2e | 2015-11-20 12:08:31 -0500 | [diff] [blame] | 46 | android:layout_marginTop="2dp" |
Pierre Duchemin | a552929 | 2017-12-18 17:25:54 -0500 | [diff] [blame] | 47 | android:layout_toEndOf="@+id/number_icon" |
Adrien Béraud | 159fdba | 2015-10-21 16:39:42 -0400 | [diff] [blame] | 48 | android:ellipsize="marquee" |
| 49 | android:marqueeRepeatLimit="marquee_forever" |
| 50 | android:scrollHorizontally="true" |
| 51 | android:singleLine="true" |
Adrien Béraud | b968c2e | 2015-11-20 12:08:31 -0500 | [diff] [blame] | 52 | android:textColor="@color/text_color_primary" |
Romain Bertozzi | 306a599 | 2016-05-10 15:53:22 -0400 | [diff] [blame] | 53 | android:textSize="16sp" |
Pierre Duchemin | a552929 | 2017-12-18 17:25:54 -0500 | [diff] [blame] | 54 | tools:text="+15142792035" /> |
Adrien Béraud | 159fdba | 2015-10-21 16:39:42 -0400 | [diff] [blame] | 55 | |
| 56 | <TextView |
| 57 | android:id="@+id/number_label_txt" |
Romain Bertozzi | 306a599 | 2016-05-10 15:53:22 -0400 | [diff] [blame] | 58 | android:layout_width="match_parent" |
Adrien Béraud | 159fdba | 2015-10-21 16:39:42 -0400 | [diff] [blame] | 59 | android:layout_height="wrap_content" |
Adrien Béraud | 159fdba | 2015-10-21 16:39:42 -0400 | [diff] [blame] | 60 | android:layout_below="@+id/number_txt" |
Pierre Duchemin | a552929 | 2017-12-18 17:25:54 -0500 | [diff] [blame] | 61 | android:layout_marginEnd="8dp" |
Adrien Béraud | b968c2e | 2015-11-20 12:08:31 -0500 | [diff] [blame] | 62 | android:layout_toEndOf="@+id/number_icon" |
Adrien Béraud | b968c2e | 2015-11-20 12:08:31 -0500 | [diff] [blame] | 63 | android:textColor="@color/text_color_secondary" |
Romain Bertozzi | 306a599 | 2016-05-10 15:53:22 -0400 | [diff] [blame] | 64 | android:textSize="12sp" |
Pierre Duchemin | a552929 | 2017-12-18 17:25:54 -0500 | [diff] [blame] | 65 | tools:text="Inde" /> |
Adrien Béraud | 159fdba | 2015-10-21 16:39:42 -0400 | [diff] [blame] | 66 | |
| 67 | </RelativeLayout> |