okdroid / checkable-chip-view Goto Github PK
View Code? Open in Web Editor NEWAndroid Chipview Widget
License: Apache License 2.0
Android Chipview Widget
License: Apache License 2.0
WARNING: [Processor] Library 'C:\Users\aaa.gradle\caches\modules-2\files-2.1\com.github.okdroid\checkablechipview\1.0.2\c5804934c3754214b7881f1cf60216faebecc4af\checkablechipview-1.0.2.aar' contains references to both AndroidX and old support library. This seems like the library is partially migrated.
When you double tap a chip, before the animation has finished, it will register the click and undo the action, while the animation will keep happening as if nothing happened.
Am I clear enough?
Current implementation does not support custom fonts and ellipsize mode
checkablechipview-1.0.2.aar' contains references to both AndroidX and old support library. This seems like the library is partially migrated. Jetifier will try to rewrite the library anyway.
Example of androidX reference: 'androidx/core/content/res/TypedArrayKt'
Example of support library reference: 'android/support/v4/graphics/ColorUtils'
android:textColor
and android:background
should support ColorStateList
for checked/unchecked states
Caused by: java.lang.IllegalArgumentException: Attribute not defined in set.
at androidx.core.content.res.TypedArrayKt.checkAttribute(TypedArray.kt:31)
at androidx.core.content.res.TypedArrayKt.getStringOrThrow(TypedArray.kt:194)
at com.github.okdroid.checkablechipview.CheckableChipView.(CheckableChipView.kt:155)
at com.github.okdroid.checkablechipview.CheckableChipView.(CheckableChipView.kt:59)
at com.github.okdroid.checkablechipview.CheckableChipView.(Unknown Source:6)
I want to remove the white highlight when I press on checkable chip view, is there any solution?
I am adding programmatically and getting exception.
My Code is:
private CheckableChipView createCrowdChipView(String title) {
CheckableChipView chipView = new CheckableChipView(mContext);
chipView.setCheckedTextColor(Color.WHITE);
chipView.setOutlineColor(ContextCompat.getColor(mContext, R.color.color_white_faded));
chipView.setOutlineCornerRadius(4f);
chipView.setOutlineWidth(1);
chipView.setText(title);
chipView.setDefaultTextColor(Color.BLACK);
// chipView.setLayoutParams(new LinearLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT));
return chipView;
}
Help Me
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.