Below you can see the front-view size comparison of the Fujifilm XQ2 and Samsung NX mini. The Fujifilm XQ2 is 10 mm narrower and 3 mm shorter than the Samsung NX mini but it is also 10 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.