View RSS Feed

Android Developer

Edit a String Resource

Rate this Entry
by , 02-11-2012 at 10:38 AM (721 Views)
Open an Eclipse Android project and examine main.xml file. You will find that it has a TextView control layout. This TextView control interface simply displays a string. The string displayed in this case is defined in string resource called “@string/hello”.

If you want to edit this string resource using string resource editor, follow these steps:

  • Double click strings.xml file in package explorer of Eclipse and it will open in the resource editor.
  • Select String “hello” and value as shown in resource editor.
  • Change the string value in the Value field.
  • Save the file.

Submit "Edit a String Resource" to Facebook Submit "Edit a String Resource" to Digg Submit "Edit a String Resource" to del.icio.us Submit "Edit a String Resource" to StumbleUpon Submit "Edit a String Resource" to Google

Comments