Slide 173
Slide 173 text
constraintSet.connect(viewId, TOP, R.id.boundaries, TOP, 0)
constraintSet.connect(viewId, START, R.id.boundaries, START, 0)
constraintSet.connect(viewId, END, R.id.boundaries, END, 0)
constraintSet.connect(viewId, BOTTOM, R.id.boundaries, BOTTOM, 0)
constraintSet.setElevation(view.id, 1f)
motion_layout.updateState(R.id.zoomed_in, constraintSet)
Changing Constraints Programmatically
PhotoGridActivity.kt
@xml/grid_zoom_scene
@kaeawc