Does anybody know how to programmatically set the text of a button?
thing is i\'m not calling this from the main layout(setContentView) i\'m calling it in a view tha
check R.java files import statement
are you sure that you have import it of the project you use .. and just format your layout (.xml ) file save it and again type the same statement