blob: 6b5295f9ff9626781c64bf5d5e4b0e811b032646 [file] [log] [blame]
Adrien Béraudb968c2e2015-11-20 12:08:31 -05001<?xml version="1.0" encoding="utf-8"?><!--
Adrien Béraud159fdba2015-10-21 16:39:42 -04002Copyright (C) 2004-2015 Savoir-Faire Linux Inc.
3
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"
43 android:layout_width="fill_parent"
44 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"
54 android:textSize="16sp" />
Adrien Béraud159fdba2015-10-21 16:39:42 -040055
56 <TextView
57 android:id="@+id/number_label_txt"
58 android:layout_width="fill_parent"
59 android:layout_height="wrap_content"
Adrien Béraud159fdba2015-10-21 16:39:42 -040060 android:layout_below="@+id/number_txt"
Adrien Béraudb968c2e2015-11-20 12:08:31 -050061 android:layout_toEndOf="@+id/number_icon"
Adrien Béraud159fdba2015-10-21 16:39:42 -040062 android:layout_toRightOf="@+id/number_icon"
Adrien Béraudb968c2e2015-11-20 12:08:31 -050063 android:text="Inde"
64 android:textColor="@color/text_color_secondary"
65 android:textSize="12sp" />
Adrien Béraud159fdba2015-10-21 16:39:42 -040066
67</RelativeLayout>