Comments (14)
Same for us with attributes "thumb" and "track". All attributes should be prefixed.
from android-switch-backport.
The attributes also seem to conflict with the v7 appcompat library, as of release 21.0.0.
from android-switch-backport.
FYI this will be fixed in the upcoming version of BetterPickers library, this issue can be considered close as it is not an issue on this project I guess.
from android-switch-backport.
In fact this has been fixed in the latest release.
from android-switch-backport.
Error:Attribute "track" has already been defined
Error:Attribute "thumbTextPadding" has already been defined
Error:Attribute "switchTextAppearance" has already been defined
Error:Attribute "switchMinWidth" has already been defined
Error:Attribute "switchPadding" has already been defined
the error still exists
when I try to sync the project with gradle
compile 'com.doomonafireball.betterpickers:library:1.5.2'
from android-switch-backport.
The error still exists.
from android-switch-backport.
@uday12kumar and @rofl- this is normal and will only be fixed in the upcoming version of betterpickers (1.5.3)
from android-switch-backport.
you can change the attribute name . After change the name its working fine for me.
newtrack
newthumbTextPadding
newswitchTextAppearance
newswitchMinWidth
newswitchPadding
from android-switch-backport.
the issue still exists in 1.5.4
from android-switch-backport.
@smaspe what I've found is that the issue exists again in 1.5.4. Try falling back to 1.5.3, that fixed it for me.
from android-switch-backport.
@StringMon @smaspe I think the issue with 1.5.4 is coming from android-switch-backport 1.3.1. Update switch-backport to 1.4.0 (make sure you change all of your mavenCentral()
references to jcenter()
).
from android-switch-backport.
@smaspe @rvganesh @uday12kumar Can you prodive a sample project where the problème is present. Because i don't get this issue, so it hard to fix it.
Thx
from android-switch-backport.
@rvganesh In what file did you change the attribute names?
from android-switch-backport.
@StringMon falling back to 1.5.3 solved this issue for me. Thanks a lot!
from android-switch-backport.
Related Issues (20)
- No titlebar crash the example HOT 1
- [Q] Is it possible to resize the Switch height to make it bigger? HOT 1
- [Q] Is it there a way to change the color of the ON button? HOT 1
- Track does not work in switch preference HOT 1
- Can't get the preference to show up! HOT 2
- Text color of switch not set correctly HOT 2
- Gradle build gets stuck after including repo and dependency HOT 3
- JRAF repo not responding HOT 9
- Rendering Problems HOT 1
- Customize text on switch and color HOT 4
- Problem to change thumb and track drawables HOT 1
- Nullpointerexception when used on Nexus4 HOT 2
- OnPreferenceChange return False, Switch Changes HOT 3
- NullPointerException HOT 8
- Publish artefact on maven central instead on your own nexus HOT 3
- Publish on Maven Central or JCenter HOT 4
- JRAF.org is down HOT 3
- Incompatible with Support Library material Switch theme HOT 4
- Getting Null pointer exception HOT 4
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 android-switch-backport.