title: How to make ConstraintLayout work with percentage values?
body: <p>With a Preview 1 of Android Studio 2.2 Google released a new layout in its support library: <a href="https://developer.android.com/reference/android/support/constraint/ConstraintLayout.html" rel="noreferrer"><code>ConstraintLayout</code></a>. With ConstraintLayout it is easier to use a Design tool in Android Studio, but I didn't find a way to use relative sizes (percents or 'weights' like in LinearLayout). Is there a way to define the constraints based on percents? E.g. make a View take 40% of a screen, create 20% margin between views, set a View's width to 50% of another View's width?</p>