summaryrefslogtreecommitdiffstats
path: root/res/values/array.xml
diff options
context:
space:
mode:
authorChiao Cheng <chiaocheng@google.com>2013-07-15 14:54:27 -0700
committerChiao Cheng <chiaocheng@google.com>2013-07-17 11:52:49 -0700
commitd05336248c5600cde35ad564840532f59b4c085c (patch)
treea78255ce64be0b3c2e271989d4ae02c9a1a4a38f /res/values/array.xml
parentc07955a31d6ef76a81eddeb77cb2d6609c8c45c1 (diff)
downloadpackages_apps_InCallUI-d05336248c5600cde35ad564840532f59b4c085c.tar.gz
packages_apps_InCallUI-d05336248c5600cde35ad564840532f59b4c085c.tar.bz2
packages_apps_InCallUI-d05336248c5600cde35ad564840532f59b4c085c.zip
Adding in call screen template.
Along with glow pad for incoming call interaction.. Change-Id: I8d518b5247bee4a10c8fd06763a7e3fe6cff5652
Diffstat (limited to 'res/values/array.xml')
-rw-r--r--res/values/array.xml102
1 files changed, 102 insertions, 0 deletions
diff --git a/res/values/array.xml b/res/values/array.xml
new file mode 100644
index 00000000..44d8d708
--- /dev/null
+++ b/res/values/array.xml
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (C) 2013 The Android Open Source Project
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License
+ -->
+
+<!-- Array resources for the Phone app. -->
+<resources>
+ <string-array translatable="false" name="transport_types">
+ <item>UDP</item>
+ <item>TCP</item>
+ </string-array>
+
+ <string-array translatable="true" name="sip_call_options_entries">
+ <item>@string/sip_call_options_entry_1</item>
+ <item>@string/sip_call_options_entry_2</item>
+ <item>@string/sip_call_options_entry_3</item>
+ </string-array>
+
+ <string-array translatable="true" name="sip_call_options_wifi_only_entries">
+ <item>@string/sip_call_options_wifi_only_entry_1</item>
+ <item>@string/sip_call_options_entry_2</item>
+ <item>@string/sip_call_options_entry_3</item>
+ </string-array>
+
+ <string-array translatable="false" name="sip_call_options_values">
+ <item>@string/sip_always</item>
+ <item>@string/sip_address_only</item>
+ <item>@string/sip_ask_me_each_time</item>
+ </string-array>
+
+ <string-array translatable="false" name="phone_type_values">
+ <item>@string/pstn_phone</item>
+ <item>@string/internet_phone</item>
+ </string-array>
+
+ <string-array translatable="true" name="sip_send_keepalive_options">
+ <item>@string/sip_system_decide</item>
+ <item>@string/sip_always_send_keepalive</item>
+ </string-array>
+
+ <!-- "Target" resources for the GlowPadView widget used for incoming calls;
+ see InCallTouchUi.showIncomingCallWidget() and incall_touch_ui.xml. -->
+
+ <!-- For most incoming calls the GlowPadView widget provides 3 choices:
+ - Answer (drag right)
+ - Reject (drag left)
+ - Respond via SMS (drag up) -->
+ <array name="incoming_call_widget_3way_targets">
+ <item>@drawable/ic_lockscreen_answer</item>
+ <item>@drawable/ic_lockscreen_text</item>
+ <item>@drawable/ic_lockscreen_decline</item>
+ <item>@null</item>"
+ </array>
+ <array name="incoming_call_widget_3way_target_descriptions">
+ <item>@string/description_target_answer</item>
+ <item>@string/description_target_send_sms</item>
+ <item>@string/description_target_decline</item>
+ <item>@null</item>"
+ </array>
+ <array name="incoming_call_widget_3way_direction_descriptions">
+ <item>@*android:string/description_direction_right</item>
+ <item>@*android:string/description_direction_up</item>
+ <item>@*android:string/description_direction_left</item>
+ <item>@null</item>
+ </array>
+
+ <!-- But in some cases "Respond via SMS" isn't available, so there are
+ only 2 choices:
+ - Answer (drag right)
+ - Reject (drag left) -->
+ <array name="incoming_call_widget_2way_targets">
+ <item>@drawable/ic_lockscreen_answer</item>
+ <item>@null</item>
+ <item>@drawable/ic_lockscreen_decline</item>
+ <item>@null</item>"
+ </array>
+ <array name="incoming_call_widget_2way_target_descriptions">
+ <item>@string/description_target_answer</item>
+ <item>@null</item>
+ <item>@string/description_target_decline</item>
+ <item>@null</item>"
+ </array>
+ <array name="incoming_call_widget_2way_direction_descriptions">
+ <item>@*android:string/description_direction_right</item>
+ <item>@null</item>
+ <item>@*android:string/description_direction_left</item>
+ <item>@null</item>
+ </array>
+
+</resources>