R.drawable cannot resolve image
Are you sure You import import com.yourcompanyname.product.R
?
instead of
import android.R;
import com.yourcompanyname.product.R
differs from import android.R
First is your project R file, that is generated by SDK.
import android.R
is built-in R file, that is provided by Android.