Editing Translations:Android Training/Building a Simple User Interface/17/en (section)

    Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
    Message definition (Android Training/Building a Simple User Interface)
    === [http://developer.android.com/reference/android/widget/TextView.html#attr_android:hint <code>android:hint</code>] ===
    This is a default string to display when the text field is empty. Instead of using a hard-coded string as the value, the <code>"@string/edit_message"</code> value refers to a string resource defined in a separate file. Because this refers to a concrete resource (not just an identifier), it does not need the plus sign. However, because you haven't defined the string resource yet, you’ll see a compiler error at first. You'll fix this in the next section by defining the string.
    Please note that all contributions to Android Wiki are considered to be released under the Creative Commons Attribution/Share-Alike Lizenz 3.0 (see DroidWiki:Urheberrechte for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
    You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

    To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

    Cancel Editing help (opens in new window)