Constraint layout

How to set a view in constraint layout that it always take same ratio of screen in phone or tablet