I am new to Xamarin and I am having a problem with resources in Visual Studio. I have added a button and a textbox to a new layout. When I try to access that textbox in my activity using FindViewById(Resource.Id.txtUserName), I get the error that Resource.Id does not contain a definition for txtUserName. It does have my button, so that part is working fine. Am I doing something wrong? Is there a way to manually add it to Resource.Designer.cs?
<?xml version="1.0" encoding="utf-8"?>