google-code-export / droiddraw

Automatically exported from code.google.com/p/droiddraw
1 stars 1 forks source link

a strings references prints the actual value in the XML #197

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Example: <Button android:text="@strings/okay" ... </Button>

When I save the layout to (for example) main.xml, I notice that the actual 
string text (Ok) and not the reference (@strings/okay) is saved into the XML 
file. (I would like to save the reference from an internationalization or 
maintenance perspective in a separate strings.xml file so that I can more 
easily internationalize or maintain the code.) I initially assumed that, after 
doing so, selecting Open causes the layout file to be opened with the 
@strings/okay reference showing on the button, and then after selecting Load 
string resources, Ok would appear on the button.

Original issue reported on code.google.com by brendan....@gmail.com on 30 Jan 2011 at 11:28

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r183.

Original comment by brendan....@gmail.com on 27 Jan 2012 at 6:32

GoogleCodeExporter commented 9 years ago
This is now fixed in SVN and will roll out with the next release.

Original comment by brendan....@gmail.com on 27 Jan 2012 at 6:33