The issue is that checkedArea is never instantiated. You will either need to programatically create it or define is by findByView like you did with the spinner.



checkedArea = (CheckBox) ...