Issue
I am using Android Studios 1.5
I am attempting to do something very simple: Add a large image to my project that I will be using as the background for my MainActivity. When I right click res->Add->Image Asset and choose "Action Bar and Tab Icons" and point it to my image, it renders completely blank rectangles as seen below:
What am I doing wrong? I've read several different pages and no one else has had this problem.
Solution
Alright I figured out the answer.
You can't add it through the Android Studios interface (why is beyond my comprehension..). You need to go to the root folder of your project to ...\app\src\main\res\drawables and copy the image into all of the respective hdpi, mdpi, xhdpi, etc folders. Then clean your project and they will appear.
Answered By - SMKS
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.