-
Notifications
You must be signed in to change notification settings - Fork 97
API 28, Android 9 #38
Comments
error: attribute sbg_selectorTextColor (aka com.securedchat.me:sbg_selectorTextColor) not found |
I'm having a similar issue. |
@dejiapps I had to remove this framework ... |
@yarodevuci @dejiapps so did I |
I had this same issue until I realized that I had an outdated version. This is resolved in the latest version so my suggestion is to upgrade to v2.0.2. The reason you know that this is outdated is because of the line: |
I've forked this library and did a major rehaul on the code. My library can be found at the link below. I hope to keep it up-to-date and maintained. I hope you guys find it useful and if so, please star it. |
Hi team, I thin Error:(13) error: attribute sbg_selectorTextColor' not found. #29 and this issue is connected even after trying out both the alternatives, I am not able to run the project |
Did you try the first answer's solution?
|
In my xml layout:
in fragment. java file
in app level gradle dependency |
Oh okay, it sounds like you solved the first problem and another came up. This project has not been worked on in some time, and it's unlikely for a PR/fixes to happen. I made a new project that has similar functionality at https://github.com/addisonElliott/SegmentedButton You can try that out and see if that will help your problem. If you post an issue on that project (with the corresponding code), I'll help you fix a problem if you have any. |
Hello guys,
|
Hi! Thanx a lot for your awesome library. I'm using pretty old version of it:
implementation "com.github.ceryle:SegmentedButton:v1.1.3"
The app crashes on Android 9, API level 28.
Logs:
Fatal Exception: java.lang.IllegalArgumentExceptionInvalid Region.Op - only INTERSECT and DIFFERENCE are allowed Raw Text
| android.graphics.Canvas.checkValidClipOp (Canvas.java:779)
| android.graphics.Canvas.clipPath (Canvas.java:1007)
| co.ceryle.segmentedbutton.RoundedCornerLayout.dispatchDraw (RoundedCornerLayout.java:82)
| android.view.View.buildDrawingCacheImpl (View.java:19472)
| android.view.View.buildDrawingCache (View.java:19338)
| android.view.View.draw (View.java:19927)
| android.view.ViewGroup.drawChild (ViewGroup.java:4333)
| android.view.ViewGroup.dispatchDraw (ViewGroup.java:4112)
| android.view.View.updateDisplayListIfDirty (View.java:19073)
| android.view.View.draw (View.java:19935)
| android.view.ViewGroup.drawChild (ViewGroup.java:4333)
| android.view.ViewGroup.dispatchDraw (ViewGroup.java:4112)
| co.ceryle.segmentedbutton.SegmentedButtonGroup.dispatchDraw (SegmentedButtonGroup.java:193)
| android.view.View.updateDisplayListIfDirty (View.java:19073)
| android.view.View.draw (View.java:19935)
| android.view.ViewGroup.drawChild (ViewGroup.java:4333)
| android.view.ViewGroup.dispatchDraw (ViewGroup.java:4112)
| android.view.View.draw (View.java:20210)
| android.view.View.updateDisplayListIfDirty (View.java:19082)
| android.view.View.draw (View.java:19935)
| android.view.ViewGroup.drawChild (ViewGroup.java:4333)
| android.view.ViewGroup.dispatchDraw (ViewGroup.java:4112)
| android.view.View.updateDisplayListIfDirty (View.java:19073)
| android.view.View.draw (View.java:19935)
| android.view.ViewGroup.drawChild (ViewGroup.java:4333)
| android.view.ViewGroup.dispatchDraw (ViewGroup.java:4112)
| android.view.View.draw (View.java:20210)
| android.widget.ScrollView.draw (ScrollView.java:1739)
| android.view.View.updateDisplayListIfDirty (View.java:19082)
| android.view.View.draw (View.java:19935)
| android.view.ViewGroup.drawChild (ViewGroup.java:4333)
| android.view.ViewGroup.dispatchDraw (ViewGroup.java:4112)
| android.view.View.draw (View.java:20210)
| android.view.View.updateDisplayListIfDirty (View.java:19082)
| android.view.View.draw (View.java:19935)
| android.view.ViewGroup.drawChild (ViewGroup.java:4333)
| android.view.ViewGroup.dispatchDraw (ViewGroup.java:4112)
| android.view.View.updateDisplayListIfDirty (View.java:19073)
| android.view.View.draw (View.java:19935)
| android.view.ViewGroup.drawChild (ViewGroup.java:4333)
| android.view.ViewGroup.dispatchDraw (ViewGroup.java:4112)
| android.view.View.updateDisplayListIfDirty (View.java:19073)
| android.view.View.draw (View.java:19935)
| android.view.ViewGroup.drawChild (ViewGroup.java:4333)
| android.view.ViewGroup.dispatchDraw (ViewGroup.java:4112)
| android.view.View.updateDisplayListIfDirty (View.java:19073)
| android.view.View.draw (View.java:19935)
| android.view.ViewGroup.drawChild (ViewGroup.java:4333)
| android.view.ViewGroup.dispatchDraw (ViewGroup.java:4112)
| android.view.View.updateDisplayListIfDirty (View.java:19073)
| android.view.View.draw (View.java:19935)
| android.view.ViewGroup.drawChild (ViewGroup.java:4333)
| android.view.ViewGroup.dispatchDraw (ViewGroup.java:4112)
| android.view.View.draw (View.java:20210)
| com.android.internal.policy.DecorView.draw (DecorView.java:780)
| android.view.View.updateDisplayListIfDirty (View.java:19082)
| android.view.ThreadedRenderer.updateViewTreeDisplayList (ThreadedRenderer.java:686)
| android.view.ThreadedRenderer.updateRootDisplayList (ThreadedRenderer.java:692)
| android.view.ThreadedRenderer.draw (ThreadedRenderer.java:801)
| android.view.ViewRootImpl.draw (ViewRootImpl.java:3312)
| android.view.ViewRootImpl.performDraw (ViewRootImpl.java:3116)
| android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:2485)
| android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1460)
| android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:7184)
| android.view.Choreographer$CallbackRecord.run (Choreographer.java:949)
| android.view.Choreographer.doCallbacks (Choreographer.java:761)
| android.view.Choreographer.doFrame (Choreographer.java:696)
| android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:935)
| android.os.Handler.handleCallback (Handler.java:873)
| android.os.Handler.dispatchMessage (Handler.java:99)
| android.os.Looper.loop (Looper.java:193)
| android.app.ActivityThread.main (ActivityThread.java:6669)
| java.lang.reflect.Method.invoke (Method.java)
| com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
| com.android.internal.os.ZygoteInit.main (ZygoteInit.java:858)
I've already tried to upgrade library to version v2.0.2, but some methods appeared not to work.
E.g. setOnClickedButtonPosition.
Could you please update wiki or somehow help me to fix this bug?
The text was updated successfully, but these errors were encountered: