codelab-constraint-layout
codelab-constraint-layout copied to clipboard
barrierDirection attribute doesn't appear in Attributes pane
Noticed issued during Step #11, setting barrierDirection. Added a barrier, dragged the 2 TextViews onto it in the Component Tree, then went to Attributes pane to edit the barrierDirection. Attributes pane does not display any attributes for Barrier. Tried "View All Attributes" and that shows zero attributes. (It does appear in the XML tab and I can edit it there, but there seems to be a problem in the Design tab's Attributes pane for Barrier class). Using Android Studio 3.1.

Had the same issue, you have to edit it from the text pane. You can simply include app:barrierDirection="end" in your Barrier element in the XML code.
What the problem! I have the same issue. Do guys have a way to solve?