Below you can see the front-view size comparison of the Sony RX10 II and Samsung NX1. The Sony RX10 II is 10 mm narrower and 14 mm shorter than the Samsung NX1 but it is also 36 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.