I want to set the size of view in mm instead of dp programmatically in android. Although it is easier to do in xml but I\'ve to do it Java.