1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2014 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License
16  -->
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18  android:id="@+id/call_log_action_container"
19  android:layout_width="match_parent"
20  android:layout_height="wrap_content"
21  android:gravity="center_vertical"
22  android:importantForAccessibility="1"
23  android:orientation="vertical"
24  android:visibility="visible">
25
26  <com.android.dialer.app.voicemail.VoicemailPlaybackLayout
27    android:id="@+id/voicemail_playback_layout"
28    android:layout_width="match_parent"
29    android:layout_height="wrap_content"/>
30
31  <View
32    android:layout_width="match_parent"
33    android:layout_height="1dp"
34    android:background="@color/dialer_divider_line_color"/>
35
36  <LinearLayout
37    android:id="@+id/call_action"
38    style="@style/CallLogActionStyle">
39
40    <ImageView
41      style="@style/CallLogActionIconStyle"
42      android:src="@drawable/quantum_ic_call_white_24"/>
43
44    <LinearLayout
45      android:layout_width="match_parent"
46      android:layout_height="wrap_content"
47      android:gravity="center_vertical"
48      android:orientation="vertical">
49      <TextView
50        android:id="@+id/call_action_text"
51        style="@style/CallLogActionTextStyle"
52        android:text="@string/call"/>
53
54      <TextView
55        android:id="@+id/call_type_or_location_text"
56        style="@style/CallLogActionSupportTextStyle"/>
57    </LinearLayout>
58
59  </LinearLayout>
60
61  <LinearLayout
62    android:id="@+id/video_call_action"
63    style="@style/CallLogActionStyle">
64
65    <ImageView
66      style="@style/CallLogActionIconStyle"
67      android:src="@drawable/quantum_ic_videocam_vd_white_24"/>
68
69    <TextView
70      style="@style/CallLogActionTextStyle"
71      android:text="@string/call_log_action_video_call"/>
72
73  </LinearLayout>
74
75  <LinearLayout
76      android:id="@+id/set_up_video_action"
77      style="@style/CallLogActionStyle">
78
79    <ImageView
80        style="@style/CallLogActionIconStyle"
81        android:src="@drawable/quantum_ic_videocam_vd_white_24"/>
82
83    <TextView
84        style="@style/CallLogActionTextStyle"
85        android:text="@string/call_log_action_set_up_video"/>
86
87  </LinearLayout>
88
89  <LinearLayout
90      android:id="@+id/invite_video_action"
91      style="@style/CallLogActionStyle">
92
93    <ImageView
94        style="@style/CallLogActionIconStyle"
95        android:src="@drawable/quantum_ic_videocam_vd_white_24"/>
96
97    <TextView
98        style="@style/CallLogActionTextStyle"
99        android:text="@string/call_log_action_invite_video"/>
100
101  </LinearLayout>
102
103  <LinearLayout
104    android:id="@+id/create_new_contact_action"
105    style="@style/CallLogActionStyle">
106
107    <ImageView
108      style="@style/CallLogActionIconStyle"
109      android:src="@drawable/quantum_ic_person_add_white_24"/>
110
111    <TextView
112      style="@style/CallLogActionTextStyle"
113      android:text="@string/search_shortcut_create_new_contact"/>
114
115  </LinearLayout>
116
117  <LinearLayout
118    android:id="@+id/add_to_existing_contact_action"
119    style="@style/CallLogActionStyle">
120
121    <ImageView
122      style="@style/CallLogActionIconStyle"
123      android:src="@drawable/quantum_ic_person_white_24"/>
124
125    <TextView
126      style="@style/CallLogActionTextStyle"
127      android:text="@string/search_shortcut_add_to_contact"/>
128
129  </LinearLayout>
130
131  <LinearLayout
132    android:id="@+id/send_message_action"
133    style="@style/CallLogActionStyle">
134
135    <ImageView
136      style="@style/CallLogActionIconStyle"
137      android:src="@drawable/quantum_ic_message_white_24"/>
138
139    <TextView
140      style="@style/CallLogActionTextStyle"
141      android:text="@string/call_log_action_send_message"/>
142
143  </LinearLayout>
144
145  <LinearLayout
146    android:id="@+id/call_with_note_action"
147    style="@style/CallLogActionStyle">
148
149    <ImageView
150      style="@style/CallLogActionIconStyle"
151      android:src="@drawable/ic_call_note_white_24dp"/>
152
153    <TextView
154      style="@style/CallLogActionTextStyle"
155      android:text="@string/call_with_a_note"/>
156
157  </LinearLayout>
158
159  <LinearLayout
160    android:id="@+id/call_compose_action"
161    style="@style/CallLogActionStyle">
162
163    <ImageView
164      style="@style/CallLogActionIconStyle"
165      android:src="@drawable/ic_phone_attach"/>
166
167    <TextView
168      style="@style/CallLogActionTextStyle"
169      android:text="@string/share_and_call"/>
170
171  </LinearLayout>
172
173  <LinearLayout
174    android:id="@+id/report_not_spam_action"
175    style="@style/CallLogActionStyle"
176    android:visibility="gone">
177
178    <ImageView
179      style="@style/CallLogActionIconStyle"
180      android:src="@drawable/ic_not_spam"/>
181
182    <TextView
183      style="@style/CallLogActionTextStyle"
184      android:text="@string/call_log_action_remove_spam"/>
185  </LinearLayout>
186
187  <LinearLayout
188    android:id="@+id/block_report_action"
189    style="@style/CallLogActionStyle"
190    android:visibility="gone">
191
192    <ImageView
193      style="@style/CallLogActionIconStyle"
194      android:src="@drawable/quantum_ic_block_white_24"/>
195
196    <TextView
197      style="@style/CallLogActionTextStyle"
198      android:text="@string/call_log_action_block_report_number"/>
199  </LinearLayout>
200
201  <LinearLayout
202    android:id="@+id/block_action"
203    style="@style/CallLogActionStyle"
204    android:visibility="gone">
205
206    <ImageView
207      style="@style/CallLogActionIconStyle"
208      android:src="@drawable/quantum_ic_block_white_24"/>
209
210    <TextView
211      style="@style/CallLogActionTextStyle"
212      android:text="@string/call_log_action_block_number"/>
213  </LinearLayout>
214
215  <LinearLayout
216    android:id="@+id/unblock_action"
217    style="@style/CallLogActionStyle"
218    android:visibility="gone">
219
220    <ImageView
221      style="@style/CallLogActionIconStyle"
222      android:src="@drawable/ic_unblock"/>
223
224    <TextView
225      style="@style/CallLogActionTextStyle"
226      android:text="@string/call_log_action_unblock_number"/>
227  </LinearLayout>
228
229  <LinearLayout
230    android:id="@+id/details_action"
231    style="@style/CallLogActionStyle">
232
233    <ImageView
234      style="@style/CallLogActionIconStyle"
235      android:src="@drawable/quantum_ic_info_outline_white_24"/>
236
237    <TextView
238      style="@style/CallLogActionTextStyle"
239      android:text="@string/call_log_action_details"/>
240
241  </LinearLayout>
242
243  <LinearLayout
244    android:id="@+id/share_voicemail"
245    android:visibility="gone"
246    style="@style/CallLogActionStyle">
247
248    <ImageView
249      style="@style/CallLogActionIconStyle"
250      android:src="@drawable/quantum_ic_send_white_24"/>
251
252    <TextView
253      style="@style/CallLogActionTextStyle"
254      android:text="@string/call_log_action_share_voicemail"/>
255
256  </LinearLayout>
257</LinearLayout>
258