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

contacts, defines, do, menus, new, that, these, visual, zoom

The arrays.xml Android example source code

<?xml version="1.0" encoding="utf-8"?>
<!--
/* //device/apps/common/assets/res/any/colors.xml
**
** Copyright 2006, Google Inc.
**
** 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>

    <!-- 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/scrollbar_handle_vertical
        <item>@drawable/scrollbar_handle_horizontal
        <item>@drawable/scrollbar_horizontal
        <item>@drawable/scrollbar_vertical
        
        <item>@drawable/edit_text
        
        <item>@drawable/title_bar
        
        <item>@drawable/spinner_dropdown_background_down
        <item>@drawable/divider_horizontal_bright

        <item>@drawable/popup_full_dark
        <item>@drawable/panel_background
        
        <item>@drawable/sym_def_app_icon
        
        <item>@drawable/progress_horizontal
        <item>@drawable/list_selector_background
        <item>@drawable/btn_default

        <!-- New additions... -->
        <item>@drawable/popup_top_dark
        <item>@drawable/popup_center_dark
        <item>@drawable/popup_bottom_dark
        <item>@drawable/popup_top_bright
        <item>@drawable/popup_center_bright
        <item>@drawable/popup_bottom_bright
        
        <!-- These are not normally referenced at first boot, but maybe
             would be good to preload? -->
        <item>@drawable/btn_check
        <item>@drawable/btn_dropdown
        <item>@drawable/btn_radio
        <item>@drawable/list_selector_background
        <item>@drawable/btn_default_small
        <item>@drawable/btn_toggle

        <!-- Contacts -->
        <item>@drawable/tab_indicator
        <item>@drawable/btn_star
        <item>@drawable/button_inset
        
        <!-- Menus -->
        <item>@drawable/menu_background
        <item>@drawable/menu_background_fill_parent_width
        <item>@drawable/menu_selector
        <item>@drawable/divider_vertical_bright
        
        <item>@drawable/expander_group
        
        <!-- 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
        
        <!-- Zoom controls for maps, browser, etc. -->
        <item>@drawable/btn_plus
        <item>@drawable/btn_minus
        <item>@drawable/zoom_plate
        
    </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>data_connection
        <item>volume
        <item>mute
        <item>speakerphone
        <item>wifi
        <item>bluetooth
        <item>gps
        <item>sync_active
        <item>sync_failing
    </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-2024 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.