blob: ce4d2b06aab10b18cbd7f11bf2f2bdfcfd2dc83d [file] [log] [blame]
Adrien BĂ©raud04d822c2015-04-02 17:44:36 -04001<?xml version="1.0" encoding="utf-8"?>
2<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:layout_width="match_parent"
4 android:layout_height="match_parent"
5 android:background="@drawable/bg_72"
6 android:divider="@drawable/divider">
7
8 <cx.ring.model.BubblesView
9 android:id="@+id/main_view"
10 android:layout_width="match_parent"
11 android:layout_height="match_parent"
12 android:layout_above="@+id/speaker_toggle"/>
13
14 <RelativeLayout
15 android:id="@+id/call_status_bar"
16 android:layout_width="match_parent"
17 android:layout_height="?android:attr/actionBarSize"
18 android:layout_alignParentTop="true">
19
20 <ImageView
21 android:id="@+id/image_call"
22 android:layout_width="wrap_content"
23 android:layout_height="wrap_content"
24 android:layout_centerVertical="true"
25 android:layout_gravity="left"
26 android:layout_marginLeft="15dp"
27 android:layout_marginRight="10dp"
28 android:src="@drawable/ic_action_call"/>
29
30 <TextView
31 android:id="@+id/call_status_txt"
32 android:layout_width="wrap_content"
33 android:layout_height="wrap_content"
34 android:layout_centerVertical="true"
35 android:layout_toRightOf="@+id/image_call"
36 android:textSize="12sp"
37 android:textColor="@color/white"/>
38
39 <ViewSwitcher
40 android:id="@+id/security_switcher"
41 android:layout_width="wrap_content"
42 android:layout_height="wrap_content"
43 android:layout_centerVertical="true"
44 android:visibility="gone"
45 android:layout_toLeftOf="@+id/dialpad_btn">
46
47 <Button
48 android:id="@+id/confirm_sas"
49 android:layout_width="wrap_content"
50 android:layout_height="wrap_content"
51 android:layout_gravity="center"
52 android:textSize="12sp"
53 android:textColor="@color/white"/>
54
55 <ImageView
56 android:id="@+id/lock_image"
57 android:layout_gravity="end|center_vertical"
58 android:layout_width="wrap_content"
59 android:layout_height="wrap_content"/>
60 </ViewSwitcher>
61
62
63 <ImageButton
64 android:id="@+id/dialpad_btn"
65 android:layout_width="wrap_content"
66 android:layout_height="wrap_content"
67 android:layout_alignParentRight="true"
68 android:layout_centerVertical="true"
69 android:layout_marginRight="10dp"
70 android:background="@null"
71 android:src="@drawable/ic_action_dial_pad_light"/>
72
73 </RelativeLayout>
74
75 <ToggleButton
76 android:id="@+id/speaker_toggle"
77 android:layout_width="match_parent"
78 android:layout_height="wrap_content"
79 android:textOn=""
80 android:textOff=""
81 android:background="@drawable/toggle_speaker_selector"
82 android:layout_alignParentBottom="true"/>
83
84</RelativeLayout>