He uses mipmap-anydpi-v26 as a directory. Now I (very bad on my part) blindly copied the code and it was not working for me because I was using SDK 27. Once I changed the statement to mipmap-anydpi-v27 everything started working.
DO I need to always update my directory based on what version of the SDK I am using? OR can I use ANY directory statement in the CreateResource?