blob: 6a6dcc8ffab18e3316a557ada9234122b5e275aa [file] [log] [blame]
Adrien Béraudec528bb2016-01-14 16:52:51 -05001<?xml version="1.0" encoding="utf-8"?><!--
2Copyright (C) 2004-2016 Savoir-faire Linux Inc.
3
4Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
5Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com>
6
7This program is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 3 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20-->
21
Adrien Béraud04d822c2015-04-02 17:44:36 -040022<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
23 android:layout_width="match_parent"
24 android:layout_height="wrap_content" >
25
26 <cx.ring.views.ClearableEditText
27 android:id="@+id/textField"
28 android:layout_width="match_parent"
29 android:layout_height="wrap_content"
30 android:layout_alignParentTop="true"
31 android:layout_marginLeft="10dp"
32 android:layout_marginRight="10dp"
33 android:layout_marginTop="10dp" />
34
35 <RelativeLayout
36 android:layout_width="match_parent"
37 android:layout_height="wrap_content"
38 android:layout_alignLeft="@+id/textField"
39 android:layout_alignRight="@+id/textField"
40 android:layout_below="@+id/textField" >
41
42 <ImageView
43 android:id="@+id/fake_padding"
44 android:layout_width="match_parent"
45 android:layout_height="30dp"
46 android:background="@color/sfl_light_blue" />
47
48 <LinearLayout
49 android:id="@+id/keyboard_choice"
50 android:layout_width="match_parent"
51 android:layout_height="wrap_content"
52 android:layout_below="@+id/fake_padding"
53 android:layout_marginBottom="15dp"
54 android:weightSum="100" >
55
56 <Button
57 android:id="@+id/numeric_keyboard"
58 android:layout_width="0dp"
59 android:layout_height="wrap_content"
60 android:layout_weight="30"
61 android:background="@drawable/item_keyboard_choice_selector"
62 android:contentDescription="@string/dial_numeric_pad"
Adrien Béraud74b579d2015-11-10 11:35:59 -050063 android:drawableLeft="@drawable/ic_dialpad_white_24dp"
Adrien Béraud04d822c2015-04-02 17:44:36 -040064 android:text="123"
65 android:textColor="@color/white"
66 android:textSize="15sp" />
67
68 <cx.ring.views.CircularImageView
69 android:id="@+id/fake_dar_band"
70 android:layout_width="0dp"
71 android:layout_height="match_parent"
72 android:layout_weight="40"
73 android:background="@drawable/item_keyboard_choice_selector" />
74
75 <Button
76 android:id="@+id/alphabetic_keyboard"
77 android:layout_width="0dp"
78 android:layout_height="wrap_content"
79 android:layout_weight="30"
80 android:background="@drawable/item_keyboard_choice_selector"
81 android:contentDescription="@string/dial_alphabetic_pad"
82 android:drawableLeft="@drawable/ic_action_keyboard_light"
83 android:text="ABC"
84 android:textColor="@color/white"
85 android:textSize="15sp" />
86 </LinearLayout>
87
88 <ImageButton
89 android:id="@+id/buttonCall"
90 android:layout_width="100dp"
91 android:layout_height="100dp"
92 android:layout_centerHorizontal="true"
93 android:background="@drawable/call_button"
Adrien Béraud74b579d2015-11-10 11:35:59 -050094 android:src="@drawable/ic_call_white_24dp" />
Adrien Béraud04d822c2015-04-02 17:44:36 -040095 </RelativeLayout>
96
97</RelativeLayout>