The Liaoning will dock in Hong Kong on Saturday July 7, in one of the largest symbolic displays of Chinese military force in the former British territory since it returned to Chinese rule in 1997.
Thousands of Hong Kong residents queued Monday for a chance to get one of 2,000 tickets being offered for tours on board the ship, which carries fighter jets and helicopters.
Beijing on Tuesday released new photos of China's only aircraft carrier conducting exercises on its way to Hong Kong -- a rare insight inside the usually secretive vessel.
The consecutive visits of Xi and the Liaoning are part of anniversary celebrations in Hong Kong, commemorating 20 years of Chinese rule.
Winning hearts and minds?
The anniversary of Hong Kong's handover to China from the United Kingdom is marked every year with large protests, including the Occupy Central movement of 2014.
Yvonne Chiu, assistant professor in the department of politics at the University of Hong Kong, said sailing the Liaoning into Hong Kong's harbor was partly a political gesture.
"It shows to Hong Kong and the rest of the world that Hong Kong is very much part of China," Chiu said.
But Chiu added there was an aspect of soft power at work as well, with residents given a rare chance to step on board the Liaoning in Hong Kong between July 8 and 9.
"There's no quicker way of whipping up some nationalist sentiment and pride than to rally around a big military symbol," Chiu said.
"(It's) an ongoing concern about whether Hong Kong people are sufficiently patriotic, so rallying around an aircraft carrier, it can only help."
However, those who get on board won't be allowed to take photos, the Hong Kong government said.
Technology outdated
China's aircraft carriers lag behind the capabilities of their US counterparts. Sam Roggeveen, a senior fellow at Sydney's Lowy Institute told CNN in April both of China's carriers were technologically outdated.
"(They still have) what they call the ski jump, which is the 15-degree incline at the front of the ship ... to give aircraft more lift," he said.
"The reason that's important is that it's very much a second-best solution for launching aircraft off a carrier. The Americans use what's called a catapult, which slings aircraft off at much higher speeds."