Top "Android-constraintlayout" questions

A new type of layout available in the Android Support repository built on top of a flexible constraint system, marking views positions relative to each other.

Can't form a chain between two views/widgets in Android Studio

When I'm using the layout editor in Android Studio and I try to make a chain (bidirectional constraint) between a …

android-layout android-studio android-constraintlayout constraint-layout-chains
How to make view "wrap_content but not larger than" with ConstraintLayout?

I'm having 3 view in a row: title, version and imageview (working as button): title should be wrap_content but respecting …

android android-constraintlayout
toggle visibility of chain group in constraint layout

In previous xml layout, I have multiple view groups with few elements inside. Hide each view group will also hide …

android xml android-layout visibility android-constraintlayout
Android add other layout in ConstraintLayout using include tag

I make some simple app for test using ConstraintLayout. But I have some problem. Here is my code activity_main.…

android xml android-layout layout android-constraintlayout
Can't set visibility on constraint group

When i try to set the visibility of the group on button click,it doesn't affect the view's visibility.Using …

android kotlin android-constraintlayout kotlin-android-extensions
ConstraintLayout layout_constraintDimensionRatio not working

I used constraintLayout and layout_constraintDimensionRatio = "1:1" (width is warp_content , height is 0dp (match_constraint)) As a result, I expected …

android android-constraintlayout
make RecyclerView's height to "wrap_content" in Constraint layout

i'm trying to set the height of recycler view on wrap_content and make it respect that,but it will …

android android-recyclerview android-constraintlayout
Android ConstraintLayout TextView go off the screen

As you see in the picture the text is off the wall. This is such a bizarre behavior and I …

android textview android-constraintlayout
Android percent screen width in RecyclerView item

How would I get a RecyclerView's item height to be, say, 30% of the screen's height? I can't simply use a …

android android-recyclerview android-constraintlayout
Window Soft Input Mode ConstraintLayout

Earlier there was no problem with soft input mode, but after including ConstraintLayout, content of fragment doesn't move up when …

android android-fragments android-constraintlayout