alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Android example source code file (arrays.xml)

This example Android source code file (arrays.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Android by Example" TM.

Java - Android tags/keywords

action_web_search, defines, do, each, that, these, visual

The arrays.xml Android example source code

<?xml version="1.0" encoding="utf-8"?>
<!--
/* //device/apps/common/assets/res/any/colors.xml
**
** Copyright 2006, 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.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">

    <!-- Do not translate. These are all of the drawable resources that should be preloaded by
         the zygote process before it starts forking application processes. -->
    <array name="preloaded_drawables">
        <item>@drawable/sym_def_app_icon
        <item>@drawable/arrow_down_float
        <item>@drawable/btn_check
        <item>@drawable/btn_check_label_background
        <item>@drawable/btn_check_off
        <item>@drawable/btn_check_on
        <item>@drawable/btn_default
        <item>@drawable/btn_default_small
        <item>@drawable/btn_dropdown
        <item>@drawable/btn_plus
        <item>@drawable/btn_minus
        <item>@drawable/btn_radio
        <item>@drawable/btn_star
        <item>@drawable/btn_toggle
        <item>@drawable/ic_emergency
        <item>@drawable/divider_horizontal_bright
        <item>@drawable/divider_horizontal_dark
        <item>@drawable/edit_text
        <item>@drawable/expander_group
        <item>@drawable/list_selector_background
        <item>@drawable/menu_background
        <item>@drawable/menu_background_fill_parent_width
        <item>@drawable/menu_selector
        <item>@drawable/panel_background
        <item>@drawable/popup_bottom_bright
        <item>@drawable/popup_bottom_dark
        <item>@drawable/popup_bottom_medium
        <item>@drawable/popup_center_bright
        <item>@drawable/popup_center_dark
        <item>@drawable/popup_full_dark
        <item>@drawable/popup_top_bright
        <item>@drawable/popup_top_dark
        <item>@drawable/progress_horizontal
        <item>@drawable/progress_indeterminate_horizontal
        <item>@drawable/progress_small
        <item>@drawable/progress_small_titlebar
        <item>@drawable/screen_background_dark
        <item>@drawable/screen_background_light
        <item>@drawable/scrollbar_handle_horizontal
        <item>@drawable/scrollbar_handle_vertical
        <item>@drawable/spinner_dropdown_background
        <item>@drawable/title_bar
        <item>@drawable/title_bar_shadow
        <!-- Visual lock screen -->
        <item>@drawable/indicator_code_lock_drag_direction_green_up
        <item>@drawable/indicator_code_lock_drag_direction_red_up
        <item>@drawable/indicator_code_lock_point_area_default
        <item>@drawable/indicator_code_lock_point_area_green
        <item>@drawable/indicator_code_lock_point_area_red
    </array>

    <!-- Do not translate. These are all of the color state list resources that should be
         preloaded by the zygote process before it starts forking application processes. -->
    <array name="preloaded_color_state_lists">
        <item>@color/hint_foreground_dark
        <item>@color/hint_foreground_light
        <item>@color/primary_text_dark
        <item>@color/primary_text_dark_disable_only
        <item>@color/primary_text_light
        <item>@color/primary_text_light_disable_only
        <item>@color/primary_text_light_nodisable
        <item>@color/secondary_text_dark
        <item>@color/secondary_text_light
        <item>@color/tab_indicator_text
        <item>@color/tertiary_text_dark
        <item>@color/tertiary_text_light
        <item>#ff000000
        <item>#00000000
        <item>#ffffffff
    </array>

    <!-- Do not translate. -->
    <integer-array name="maps_starting_lat_lng">
        <item>36149777
        <item>-95993398
    </integer-array>
    <!-- Do not translate. -->
    <integer-array name="maps_starting_zoom">
        <item>3
    </integer-array>

    <!-- Do not translate. Defines the slots for the right-hand side icons.  That is to say, the
         icons in the status bar that are not notifications. -->
    <string-array name="status_bar_icon_order">
        <item>clock
        <item>alarm_clock
        <item>battery
        <item>phone_signal
        <item>phone_evdo_signal
        <item>data_connection
        <item>cdma_eri
        <item>tty
        <item>volume
        <item>mute
        <item>speakerphone
        <item>wifi
        <item>tty
        <item>bluetooth
        <item>gps
        <item>sync_active
        <item>sync_failing
        <item>ime
    </string-array>

    <!-- Do not translate. Each string points to the component name of an ACTION_WEB_SEARCH
         handling activity. On startup if there were no preferred ACTION_WEB_SEARCH handlers,
         the first component from this list which is found to be installed is set as the
         preferred activity. -->
    <string-array name="default_web_search_providers">
        <item>com.google.android.providers.enhancedgooglesearch/.Launcher
        <item>com.android.googlesearch/.GoogleSearch
        <item>com.android.websearch/.Search.1
    </string-array>
</resources>

Other Android examples (source code examples)

Here is a short list of links related to this Android arrays.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.