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

Change the color of an oval at click in Java AWT -

What can cause "Required Package 'IndyCore' not found" when compiling a Delphi 2010 project? -