ThemeManager : Use better checks for theme densities

Preview image is not guaranteed to be in all densities. Instead,
iterate through android.xml and get the first existing drawable
and check for all available densities

Change-Id: I3dd4122498747f2757e80e509e7a6eee2a1c75b1