Comments (8)
This is a constant problem in Android.
Attributes do not have name spaces. Attributes of the same name must have the same type.
All libraries need to be carful.
Our approach:
- Use 2 word names (motionProgress not progress)
- If we get a report before we release we change the attribute.
1.1.3 was release in August 2018
So we are well pass that.
from constraintlayout.
Material Design 1.2.x depends on ConstraintLayout 1.1.3
Material Design 1.3.0-alpha02 included an upgrade to depend on ContraintLayout 2.x
Because of changes in ConstraintLayout attrs during the 2.x migration, this means that using Material Design 1.2.x with ConstraintLayout 2.x is just not possible.
from constraintlayout.
Haven't tried with 1.3.0-* before, but that still doesn't work..
I get exactly the same error with those references:
implementation 'com.google.android.material:material:1.3.0-rc01'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4' // also tried with 2.0.1 which should be exactly what material is using but doesn't work either.
from constraintlayout.
Have you tried contacting the material team ?
from constraintlayout.
I meet the same error with constraintlayout:2.1.0-alpha2 and material:1.2.0
from constraintlayout.
@xuyisheng @mortenholmgaard what versions are you running of Android Studio & AGP? On 4.1.1 and 4.1.2 and the Arctic Fox canaries I'm not seeing the issue you describe with these versions:
implementation 'com.google.android.material:material:1.3.0-rc01'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
from constraintlayout.
I am running Android Studio 4.1.2 and AGP 4.1.2.
I tried making a sample project for the case but saw that it worked then. So after some elimination of the other included libaries I figured out that the conflict was with this: miguelhincapie/CustomBottomSheetBehavior#85
from constraintlayout.
have resolved it by renaming the attr name
attr name="fontTest" format="integer"
from constraintlayout.
Related Issues (20)
- [Flow] Chain wrapping produces unexpected results with layout_constraintWidth_min HOT 3
- Compose ConstraintLayout circular not working HOT 1
- Motion layout compose OnSwipe doesn't work with a horizontal pager with tabs setup HOT 3
- Support for compose multiplatform HOT 1
- MotionLayout OnSwipe only animated after first ACTION_UP HOT 2
- topMargin is abnormal HOT 8
- In Android8.1 (27), the round setting is too large, and the ImageFilterView cannot be displayed HOT 2
- Comprehensive guide/documentation for swing constraintlayout HOT 2
- Carousel changes views randomly if used inside a RecyclerView HOT 1
- setDragScale method in OnSwipe only accepts integer values
- [Compose] Multiple transitions onSwipe HOT 4
- [Compose] Layout not behaving as expected when using Dimension.fillToConstraints.atLeastWrapContent HOT 5
- I think this is definitely a bug HOT 6
- ConstraintLayoutReference.id is internal in alpha version
- MotionLayout produces incorrect animation
- Setting match_parent in a child causes display and stability problems in its descendant views
- Jetpack Compose Constraint Layout. Constraint in preview are shifted
- [Compose] MotionLayout cannot animate the circle angle and distance together HOT 2
- MotionLayout bug with Recyclerview ( setTransition programmatically and back, Recyclerview Scroll did not attach to MotionLayout OnSwipe )
- onSwipe not work when sub composable item with clickable Modifier
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from constraintlayout.