Can't load image from raw to imageview
问题 I want to load image using setImageResource, from raw folder to imageview, But I get Expected resource of type drawable error. I'm using android studio, Before that when I was using Eclipse everything was fine. I don't want to use drawable folder. raw folder: Any suggestion? Thanks 回答1: I want to load image using setImageResource, from raw folder to imageview, But I get Expected resource of type drawable error. Using a raw resource for setImageResource() is not documented behavior. Before