Tuesday, June 7, 2011

[android-developers] Passing Variable in Java to XML Values

Hi everyone!

This is what I am trying to do.
I create one taskbar on top of my glSurfaceView.I refer to the
SurfaceOverlay example.
Then on the taskbar, I want the button labelled with a string and this
string should be retrieve from the java class (Activity Class).


Is it possible to pass a string from java class to xml file?
How to pass my java variable to <project>/values/string.xml file?

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate