{"action":"closed","issue":{"url":"https://api.github.com/repos/afollestad/material-dialogs/issues/712","labels_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/712/labels{/name}","comments_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/712/comments","events_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/712/events","html_url":"https://github.com/afollestad/material-dialogs/issues/712","id":108047950,"number":712,"title":"Radio buttons invisible with MDTintHelper","user":{"login":"gintechsystems","id":10021307,"avatar_url":"https://avatars.githubusercontent.com/u/10021307?v=3","gravatar_id":"","url":"https://api.github.com/users/gintechsystems","html_url":"https://github.com/gintechsystems","followers_url":"https://api.github.com/users/gintechsystems/followers","following_url":"https://api.github.com/users/gintechsystems/following{/other_user}","gists_url":"https://api.github.com/users/gintechsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/gintechsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gintechsystems/subscriptions","organizations_url":"https://api.github.com/users/gintechsystems/orgs","repos_url":"https://api.github.com/users/gintechsystems/repos","events_url":"https://api.github.com/users/gintechsystems/events{/privacy}","received_events_url":"https://api.github.com/users/gintechsystems/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/afollestad/material-dialogs/labels/possible%20bug","name":"possible bug","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-24T03:07:02Z","updated_at":"2015-10-05T19:16:02Z","closed_at":"2015-10-05T19:16:02Z","body":"I tried using the following code from `MDTintHelper` but my radio button does not show. I am using Lollipop (5.1.1). I then took this function and modified it to get it working, which is below. Any reason why this would happen? I am using a nexus 6.\r\n\r\n```java\r\npublic static void setTint(RadioButton radioButton, int color) {\r\n        ColorStateList sl = new ColorStateList(new int[][]{\r\n                new int[]{-android.R.attr.state_checked},\r\n                new int[]{android.R.attr.state_checked}\r\n        }, new int[]{\r\n                DialogUtils.resolveColor(radioButton.getContext(), R.attr.colorControlNormal),\r\n                color\r\n        });\r\n        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\r\n            radioButton.setButtonTintList(sl);\r\n        } else {\r\n            Drawable d = DrawableCompat.wrap(ContextCompat.getDrawable(radioButton.getContext(), R.drawable.abc_btn_radio_material));\r\n            DrawableCompat.setTintList(d, sl);\r\n            radioButton.setButtonDrawable(d);\r\n        }\r\n    }\r\n\r\npublic static void setRadioButtonTint(RadioButton radioButton, int color) {\r\n        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\r\n            radioButton.setButtonTintList(ColorStateList.valueOf(color));\r\n        } else {\r\n            ColorStateList sl = new ColorStateList(new int[][]{\r\n                    new int[]{-android.R.attr.state_checked},\r\n                    new int[]{android.R.attr.state_checked}\r\n            }, new int[]{\r\n                    DialogUtils.resolveColor(radioButton.getContext(), R.attr.colorControlNormal), color\r\n            });\r\nDrawable d = DrawableCompat.wrap(ContextCompat.getDrawable(radioButton.getContext(), R.drawable.abc_btn_radio_material));\r\n            DrawableCompat.setTintList(d, sl);\r\n            radioButton.setButtonDrawable(d);\r\n        }\r\n    }\r\n```"}}