Actor Jamie Foxx jokes around prior to the NBA All-Star celebrity basketball game Friday, Feb. 16, 2018, in Los Angeles. (AP Photo/Chris Pizzello)

Jamie Foxx walked out of an interview when he was asked about his relationship with his girlfriend Katie Holmes.

The 50-year-old actor and the 39-year-old actress have reportedly been in a secret relationship for the past few years but they only recently went public with their romance and Jamie is still reluctant to talk about it.

Jamie was being interviewed on ESPN's 'SportsCenter' before he played in the NBA All-Star Celebrity Game at the Verizon Up arena in Los Angeles but he was not impressed when he was questioned about recent pictures of him and Katie with a basketball.

Host Michael Smith said: "I know you've prepared and I saw pictures. Did you and Katie Holmes play basketball for Valentine's Day? Like some real 'Love and Basketball'?"

Jamie smiled and shook his head, before taking off his headphones and leaving the interview.

Michael said: "Uh oh, did we lose him?"

Katie and Jamie's relationship was confirmed when the pair were spotted walking hand in hand on a Malibu beach last September, finally revealing they are an item for the first time.

Read: Katie Holmes and Jamie Foxx confirm romance