Ok, a couple of things, you have 2 EMPTY layouts, and you are loading and using one of them (Main), also, you have a LABEL and not an EDITTEXT to enter the results.
I have made some corrections, look at your original and the corrected one and you'll see what you did wrong.