-
Notifications
You must be signed in to change notification settings - Fork 114
Duplicated title #65
Comments
Hi, first thing: it seems that you are using our library together with the new Material Components library instead of the newest compatible version of the Android Design Support Library (27.1.1). As noted in the README file, we are not maintaining this library anymore and updating it for compatibility with new Material Components library versions. but trying to get the changes merged into the official Material Components Android library. (material-components/material-components-android#413) Can you check if this problem still occurs if you try our fork of the Material Components library, where some bugs have already been fixed? allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
} dependencies {
// replace the material components library with:
implementation 'com.github.opacapp:material-components-android:multiline-collapsingtoolbar-SNAPSHOT'
} Then replace If it still occurs there, could you give us an example of a title text with which you see this problem? Could it be that it starts with a tab (\t) or other whitespace character? |
@johan12345 thanks for response and sorry for my late question, I got this error by replacing the library. `FAILURE: Build failed with an exception.
|
That looks like you still have the Google version of the Material Components library included in your dependencies (com.google.android.material:material:1.0.0). As our version is a fork of that library and thus contains the same classes, it needs to be removed. |
@johan12345, I removed and cleaned my project but still gives that error
|
Hmm, then maybe some other library that you include depends on com.google.android.material:material? |
Here is my full gradle, checked but couldn't find
|
|
My XML
Any idea why thats happening? not always but it happens for certain texts.
The text was updated successfully, but these errors were encountered: