constraintlayout
constraintlayout copied to clipboard
ConstraintLayout is an Android layout component which allows you to position and size widgets in a flexible way
Using ConstraintLayout 2.0.4 and 2.1.0. ``` ``` **Expected:** TextView's max width should be equivalent `wrap_content` width. **Actual:** Screenshot  `app:layout_constraintWidth_max="wrap"` is ignored. However, if the `layout_height` of the TextView is...
this code not working: ``` val pyProperties = ConstraintProperties(binding.tvPinyin) pyProperties.connect( ConstraintProperties.END, binding.rvCharacter.id, ConstraintProperties.END, 0 ).apply() ``` but if i use ConstraintSet, everything working fine: ``` val set = ConstraintSet() set.clone(binding.root)...
I have a recyclerView and its item contain Carousel, I have 3 imageView and the center one will match parent, everything runs fine when `app:carousel_infinite="true"` but the problem when `app:carousel_infinite="false"`...
Layout: [activity_main.xml](https://github.com/thsaravana/android-animation/blob/motion-layout/app/src/main/res/layout/activity_main.xml) Layout Scene: [movie_detail_scene.xml](https://github.com/thsaravana/android-animation/blob/motion-layout/app/src/main/res/xml/movie_detail_scene.xml) Minimum reproducible project: [android-animation (branch: motion-layout)](https://github.com/thsaravana/android-animation/tree/motion-layout) Version: 2.0.2, 2.0.4, 2.1.0-beta02 The functionality is quite simple. onClick of the layout, the layout will Expand and then...
Good bug reports include a layout (and MotionScene if applicable). Bug reports without these or reproduction steps are likely to be closed. When I use Android Studio 4.2 to open...
In the developer guide: https://developer.android.com/reference/androidx/constraintlayout/widget/ConstraintLayout, there is a note: > Important: MATCH_PARENT is not recommended for widgets contained in a ConstraintLayout. Similar behavior can be defined by using MATCH_CONSTRAINT with...
Note: This bug replaces #229 The spring animation does not stop, regardless of the `springStopThreshold` attribute. You can find an example project [here](https://github.com/kroegerama/constraintlayout-bugreports). The relevant files are: - [Layout file](https://github.com/kroegerama/constraintlayout-bugreports/blob/master/app/src/main/res/layout/spring_bug.xml)...
Note: This bug replaces #229 `wrap_content` is calculated a few px too small causing TextViews to break the text. You can find an example project [here](https://github.com/kroegerama/constraintlayout-bugreports). The relevant files are:...
Thank you so much for providing and helping us through this good component. Don't know this is fine for raising an issue with videos. If the information is not enough...
Good bug reports include a layout (and MotionScene if applicable). Bug reports without these or reproduction steps are likely to be closed. I'm trying to create compose layout that acts...