Britney Spears loves showing off her hot bikini body.

The X Factor judge, 30, shared a photo of herself wearing a floral two-piece -- taken inside her California home -- with her 20 million Twitter followers August 30. In the sexy shot, Spears stands in front of an indoor aquarium and proudly flashes her megawatt smile.

PHOTOS: Britney Spears' bikini body through the years

"Having some fun in the sun," Spears wrote in the photo caption. "Don't want summer to be over!"

Black Eyed Peas musician, 37, clearly liked what he saw. "OMG," he responded via Twitter. "You're looking fit and hot. Can't wait to shoot the video to our song. Your fans are gonna love it."

The seven-time Grammy Award winner added that he's "still putting the finishing touches" on his as-yet-untitled track with Spears. "Britney's part is dope."

VIDEO: Why Britney Spears says the X Factor judges "ganged up" on her

The musicians most recently collaborated on the song "Bit Fat Bass" from Spears' seventh studio album, Femme Fatale. Until their new collaboration released, Spears will be focused on promoting the second season of the X Factor, premiering September 12 on FOX.

PHOTOS: Britney Spears' sexiest tour costumes ever

"It's the best feeling when someone comes on stage and makes us want to stand up, gives us energy and makes us feel alive," Spears has said of being a judge with Simon Cowell, 52, L.A. Reid, 56, and Demi Lovato, 20.

This article originally appeared on Britney Spears Shows Off Toned Abs in Floral Bikini