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

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

c# - MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(3243,9): error MSB4094 -