codelab-constraint-layout icon indicating copy to clipboard operation
codelab-constraint-layout copied to clipboard

barrierDirection attribute doesn't appear in Attributes pane

Open jamack opened this issue 7 years ago • 2 comments

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.

bug_codelab_constraintlayout_01

jamack avatar Mar 31 '18 19:03 jamack

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.

Fabusuyi012 avatar May 30 '18 11:05 Fabusuyi012

What the problem! I have the same issue. Do guys have a way to solve?

ThanawatMas avatar Feb 17 '19 13:02 ThanawatMas