I added some UI elements to the main.xml file in the res\\layout folder and when I try to access them through the call, R.layout.my_uielement, the UI element th
R.layout.my_uielement
Use R.id.your_ui_element, not R.layout.your_element