Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3   ~ Copyright (C) 2013 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 
     18 <!-- Array resources for the Phone app. -->
     19 <resources>
     20     <!-- "Target" resources for the GlowPadView widget used for incoming calls;
     21          see InCallTouchUi.showIncomingCallWidget() and incall_touch_ui.xml.  -->
     22 
     23     <!-- For most incoming calls the GlowPadView widget provides 3 choices:
     24          - Answer (drag right)
     25          - Reject (drag left)
     26          - Respond via SMS (drag up) -->
     27     <array name="incoming_call_widget_3way_targets">
     28         <item>@drawable/ic_lockscreen_answer</item>
     29         <item>@drawable/ic_lockscreen_text</item>
     30         <item>@drawable/ic_lockscreen_decline</item>
     31         <item>@null</item>"
     32     </array>
     33     <array name="incoming_call_widget_3way_target_descriptions">
     34         <item>@string/description_target_answer</item>
     35         <item>@string/description_target_send_sms</item>
     36         <item>@string/description_target_decline</item>
     37         <item>@null</item>"
     38     </array>
     39     <array name="incoming_call_widget_3way_direction_descriptions">
     40         <item>@string/description_direction_right</item>
     41         <item>@string/description_direction_up</item>
     42         <item>@string/description_direction_left</item>
     43         <item>@null</item>
     44     </array>
     45 
     46     <!-- But in some cases "Respond via SMS" isn't available, so there are
     47          only 2 choices:
     48          - Answer (drag right)
     49          - Reject (drag left) -->
     50     <array name="incoming_call_widget_2way_targets">
     51         <item>@drawable/ic_lockscreen_answer</item>
     52         <item>@null</item>
     53         <item>@drawable/ic_lockscreen_decline</item>
     54         <item>@null</item>"
     55     </array>
     56     <array name="incoming_call_widget_2way_target_descriptions">
     57         <item>@string/description_target_answer</item>
     58         <item>@null</item>
     59         <item>@string/description_target_decline</item>
     60         <item>@null</item>"
     61     </array>
     62     <array name="incoming_call_widget_2way_direction_descriptions">
     63         <item>@string/description_direction_right</item>
     64         <item>@null</item>
     65         <item>@string/description_direction_left</item>
     66         <item>@null</item>
     67     </array>
     68 
     69 </resources>
     70