I am developing app where get one XML . I parse this XML . I get the images name of like logoldpi ,logomdpi ,logohdpi ,logoxh dpi . now I need to set these image according to device dpi.I have set these image acccording to device dpi but in case my device is hdpi and i get logohdpi null then i need to set logomdpi if it is null then logoldpi how to solve this ?
Please help.
Thanks in advance.