Below you can see the front-view size comparison of the Sony A6400 and Leica TL2. The Sony A6400 is 14 mm narrower and 2 mm shorter than the Leica TL2 but it is also 27 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.