Last active
August 25, 2018 18:35
-
-
Save RamiJ3mli/d9ae3ead7d7c2d56ce2628eaab6e620d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ConstraintSet c = new ConstraintSet(); | |
c.clone(constraintLayout); | |
//c.create( R.id.keyline, ConstraintSet.VERTICAL_GUIDELINE); | |
c.setGuidelineBegin(R.id.keyline, ScreenUtil.convertDptoPx(16)); | |
c.connect(R.id.button, ConstraintSet.START, R.id.keyline, ConstraintSet.END); | |
c.applyTo(constraintLayout); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment