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 may change or be removed altogether across platforms. You're better off just adding your own, especially if it's just "OK". ------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en