Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IllegalArgumentException: Attribute not defined in set. #19

Closed
Monikasultania opened this issue Oct 9, 2018 · 1 comment
Closed

IllegalArgumentException: Attribute not defined in set. #19

Monikasultania opened this issue Oct 9, 2018 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Monikasultania
Copy link

IllegalArgumentException: Attribute not defined in set.

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

@markushi markushi added the bug Something isn't working label Oct 9, 2018
@markushi markushi self-assigned this Oct 9, 2018
@romtsn
Copy link
Collaborator

romtsn commented Oct 9, 2018

Fixed in 1.0.3. Thanks for reporting!

@romtsn romtsn closed this as completed Oct 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants