android - Add a Button and Add String Resources -


i new world of android app creation. going through tutorials. having trouble adding strings , buttons. great. thanks

to add button lets "id" "button1"

declare on main activity below.

button submit = (button)findviewbyid(r.id.button1);

// of yout button found in ur xml file.


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

c# - Unity IoC Lifetime per HttpRequest for UserStore -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -