African dwarf frogs are freshwater, fully aquatic animals. I have 2 in my 5g betta tank at work, and they are too funny. Everyone who comes in gets a kick out of them. Trash and Toter are the showstoppers of that little tank, lol.
They prefer a shallower tank, its a lot o work for them to swim to the top to take a breath, and they need a good diet. They eat bloodworms, brine shrimp, chopped up earthworms, baby fry, and there is frog pellets you can give them too. If you have them in a community tank, you just have to make sure they are getting food.....they are nearly blind, so you have to get the food to them. A lot of people train them to eat from thier hands or in a specific spot. I trained mine to come to the front corner of the tank where i put a little glass bowl. I just put the food in the bowl, and they come pig out. Since there is only a betta in there, there is not much worry they will miss out on a meal. The betta pretty well steers clear of them at feeding time, they have latched onto his fins on accident a few times and got a ride around the tank, lol.