Fixed the errors caused by using the android.R files. Did this by
removing the import android.R line.
Just because