1cm is not 10 !
You should at least use dip (density indepenant pixel) values.
But if you want 1cm you need to calculate it.
1dip is approximately 1/160 of an inch.
1dip is approximately 1/63 cm.
so 1cm is approximately 63dip.
Do you want the same gap on all devices, smartphones and tablets ?