Its natural habitats are subtropical or tropical dry shrubland, rivers, intermittent rivers, freshwater springs, rural gardens, urban areas, ponds, and irrigated land.
Its natural habitats are subtropical or tropical moist lowland forests, subtropical or tropical moist montane forests, rivers, and intermittent rivers.