codelab-constraint-layout
codelab-constraint-layout copied to clipboard
Constraint Layout Codelab
I've got a constraint layout with height 'wrap_content'. I hide and show elements inside of it (using VISIBLE/GONE visibility). Everything works fine (the height of the layout gets adjusted) until...
The spacing between inner layouts has changed and the bottom margin on the last one has gone. 
My button inherits from .../platforms/android-28/data/res/values/styles.xml: ``` @drawable/btn_default true true ?attr/textAppearanceSmallInverse @color/primary_text_light center_vertical|center_horizontal ``` My changes are: ``` match_parent @dimen/default_btn_height ?android:selectableItemBackground @android:color/transparent @font/gotham_bold true ``` ``` @drawable/bg_outline_blue @color/colorPrimary ``` Finally using...
I found that on beta 2, my snack bars stopped showing. Only after i had requested focus on a material.textfield.TextInputLayout. I found rolling back fixed my issue so i don't...
dalvikvm: ERROR: in Landroid/support/constraint/solver/widgets/ConstraintWidgetContainer;, direct=6 virtual=27, maps have 7196 dalvikvm: ERROR: in Landroid/support/constraint/solver/widgets/WidgetContainer;, direct=4 virtual=13, maps have 7196 dalvikvm: Bad register map format 22 dalvikvm: VM aborting
This issue started after updating the gradle dependency to 2.0.0-beta1. ` ` This is the view pager in the xml - and guideline166 starts the transition at 65% and ends...
I use recycleview in motion layout and use ItemTouchHelper.Callback clearView() method for detecting item drop event (See https://stackoverflow.com/questions/35920584/android-how-to-catch-drop-action-of-itemtouchhelper-which-is-used-with-recycle) So from beta1 version clearView() calls every time when I cross next...
I currently using constraint-layout by the following lib `implementation 'com.android.support.constraint:constraint-layout:1.0.2'` By update warning in the android studio, I Update this to `implementation 'com.android.support.constraint:constraint-layout:1.1.0'` Then I got the following issue (See...
with ``` implementation "com.android.support.constraint:constraint-layout:1.1.0" implementation "com.android.support.constraint:constraint-layout-solver:1.1.0" ``` getting a run time error: ``` Process: com.example.derek.trademeapi, PID: 14475 java.lang.AssertionError: LEFT at android.support.constraint.solver.widgets.Guideline.getAnchor(Guideline.java:159) at android.support.constraint.solver.widgets.ConstraintWidget.immediateConnect(ConstraintWidget.java:1578) at android.support.constraint.ConstraintLayout.setChildrenConstraints(ConstraintLayout.java:978) at android.support.constraint.ConstraintLayout.updateHierarchy(ConstraintLayout.java:793) at android.support.constraint.ConstraintLayout.onMeasure(ConstraintLayout.java:1540) at...
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...