[android-developers] access android.R.string values from xml layout file

2010-02-18 Thread fry
Hello, I can access android.R.string.ok value from java code, but can't see how to do the same in layout xml file - I only have @string/xxx in autocompletion list which does not have system string values. thank's -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] access android.R.string values from xml layout file

2010-02-18 Thread TreKing
On Thu, Feb 18, 2010 at 1:13 PM, fry bender...@gmail.com wrote: I can access android.R.string.ok value from java code, but can't see how to do the same in layout xml file Try @android:string/ok - though even if that works, note that that's probably discouraged, as the value of that resource