Bug? Widget compilation problem with "xxx-xx.png" type names

DarekD

New Member
Licensed User
I have problem with compilation error: if I include in widget layout ImageView with ImageFile name like "database-icon.png" (if name includes "-" sign) it generates "Invalid image file name: administrator-icon" error.
Replacing file name with something like "administrator_icon.png" makes everything ok.
If same layout (with "-" in name)is used in normal activity(not service) it is compiled OK.



Is this normal behavior?
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…