Below you can see the front-view size comparison of the Olympus TG-870 and Fujifilm XQ2. The Fujifilm XQ2 is 13 mm narrower and 5 mm shorter than the Olympus TG-870 but it is also 5 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.