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.

ConstraintLayout: change constraints programmatically

I need help with ConstraintSet. My goal is to change view's constraints in code, but I cant figure out how …

android android-layout android-view android-constraintlayout
How to center multiple Views together using ConstraintLayout?

Background Google has announced a new layout called "ConstraintLayout" that's supposed to be the ultimate layout, that could replace all …

android android-layout android-constraintlayout
Android ConstraintLayout - Put one view on top of another view

I'm trying to add a ProgressBar on top of a Button (both are inside a ConstraintLayout). <Button android:id="@+…

android android-layout android-constraintlayout
ConstraintLayout aspect ratio

Consider the following layout file: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/…

android android-layout scale aspect-ratio android-constraintlayout
Wrap_content view inside a ConstraintLayout stretches outside the screen

I am trying to implement a simple chat bubble using a ConstraintLayout. This is what I am trying to achieve: …

android android-layout android-constraintlayout
How to achieve overlap/negative margin on Constraint Layout?

Is it possible to achieve negative margin on constraint layout to achieve overlap? I am trying to have a image …

android android-constraintlayout constraint-layout-chains
Android : How to programmatically set layout_constraintRight_toRightOf "parent"

I have a view in ConstrainLayout as follows. <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" …

android android-support-library android-constraintlayout
error inflating ConstraintLayout in android studio

I'm having problems with Android Studio. I recently upgraded my SDK Manager to include; compile 'com.android.support.constraint:constraint-layout:1.0.0…

android android-studio android-constraintlayout
ConstraintLayout, when constraint dependent view is gone, the layout view behave weirdly

I'm using ConstraintLayout where I will show as below I would like to hide First (using gone), and which the …

android android-layout android-constraintlayout
How can I get the latest version of ConstraintLayout for Android?

When I try to use ConstraintLayout in my layout content_main.xml, I get the following message: Using version 1.0.0-alpha5 …

android android-studio android-constraintlayout