Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4 **
      5 ** Copyright 2014, The Android Open Source Project
      6 **
      7 ** Licensed under the Apache License, Version 2.0 (the "License");
      8 ** you may not use this file except in compliance with the License.
      9 ** You may obtain a copy of the License at
     10 **
     11 **     http://www.apache.org/licenses/LICENSE-2.0
     12 **
     13 ** Unless required by applicable law or agreed to in writing, software
     14 ** distributed under the License is distributed on an "AS IS" BASIS,
     15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     16 ** See the License for the specific language governing permissions and
     17 ** limitations under the License.
     18 */
     19 -->
     20 
     21 <resources>
     22     <!-- The extra margin in dp around the hit area of the commit/add-to-dictionary indicator -->
     23     <integer name="text_decorator_hit_area_margin_in_dp">
     24         4
     25     </integer>
     26 
     27     <!-- Background color to be used to highlight the target text when the add-to-dictionary
     28          indicator is visible. -->
     29     <color name="text_decorator_add_to_dictionary_indicator_text_highlight_color">
     30         #D1E7B7
     31     </color>
     32 
     33     <!-- Foreground color of the commit indicator. -->
     34     <color name="text_decorator_add_to_dictionary_indicator_background_color">
     35         #4EB848
     36     </color>
     37 
     38     <!-- Foreground color of the add-to-dictionary indicator. -->
     39     <color name="text_decorator_add_to_dictionary_indicator_foreground_color">
     40         #FFFFFF
     41     </color>
     42 
     43     <!-- Viewport size of "text_decorator_add_to_dictionary_indicator_path". -->
     44     <integer name="text_decorator_add_to_dictionary_indicator_path_size">
     45         480
     46     </integer>
     47 
     48     <!-- Coordinates of the closed path to be used to render the add-to-dictionary indicator.
     49          The format is: X[0], Y[0], X[1], Y[1], ..., X[N-1], Y[N-1] -->
     50     <integer-array name="text_decorator_add_to_dictionary_indicator_path">
     51         <item>380</item>
     52         <item>260</item>
     53         <item>260</item>
     54         <item>260</item>
     55         <item>260</item>
     56         <item>380</item>
     57         <item>220</item>
     58         <item>380</item>
     59         <item>220</item>
     60         <item>260</item>
     61         <item>100</item>
     62         <item>260</item>
     63         <item>100</item>
     64         <item>220</item>
     65         <item>220</item>
     66         <item>220</item>
     67         <item>220</item>
     68         <item>100</item>
     69         <item>260</item>
     70         <item>100</item>
     71         <item>260</item>
     72         <item>220</item>
     73         <item>380</item>
     74         <item>220</item>
     75     </integer-array>
     76 </resources>
     77