WASHINGTON—The U.S. and China moved closer to settling their trade dispute, with President Trump saying he expects to meet again with Chinese President Xi Jinping to resolve the conflict that has rattled the global economy.

Mr. Trump’s upbeat assessment came as he met Thursday with Vice Premier Liu He of China in the Oval Office following two days of high-level talks between the two sides.

During...