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

Android example source code file (strings.xml)

This example Android source code file (strings.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

add, cancel, captions, clear, couldn't, filename, lolcat, no, ok, save, sd, share, uri, view

The strings.xml Android example source code

<?xml version="1.0" encoding="utf-8"?>
<!--
/*
 * Copyright (c) 2008 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>
    <!-- lolcat_activity.xml / LolcatActivity.java -->
    <string name="lolcat_pick">Pick photo
    <string name="lolcat_nothing_picked">No photo picked!
    <string name="lolcat_clear_caption">Clear captions
    <string name="lolcat_clear_photo">Clear photo
    <string name="lolcat_add_captions">Add captions
    <string name="lolcat_change_captions">Change captions
    <string name="lolcat_save">Save & share
    <string name="lolcat_caption_dialog_title">Captions
    <string name="lolcat_caption_dialog_top_label">Top:
    <string name="lolcat_caption_dialog_bottom_label">Bottom:
    <string name="lolcat_caption_dialog_ok">OK
    <string name="lolcat_caption_dialog_cancel">Cancel
    <string name="lolcat_saving">Saving...
    <string name="lolcat_save_failed">Couldn't save photo
    <string name="lolcat_scan_failed">Couldn't scan photo on SD card
    <string name="lolcat_share_failed">Couldn't share photo
    <string name="lolcat_scanning">Scanning...
    <string name="lolcat_sendImage_label">Share picture via
    <string name="lolcat_save_succeeded_dialog_title">Image saved!
    <string name="lolcat_save_succeeded_dialog_body_format">"Lolcat image successfully saved:\n  Filename: %s\n  Uri: %s"
    <string name="lolcat_save_succeeded_dialog_view">View in gallery
    <string name="lolcat_save_succeeded_dialog_share">Share
    <string name="lolcat_save_succeeded_dialog_cancel">Cancel
</resources>

Other Android examples (source code examples)

Here is a short list of links related to this Android strings.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.