Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Unintended behavior
View staffing
Description
<RadioButton
...
android:button="@drawable/ic_direction_left"
../>
Attached are pictures with the correct RadioButtons and the false.
When Using Android 4.1 and AppCompat version 1.0.0 everything is fine on Android 4.1. When using Android 4.1 and Appcompat 1.1.0 or higher, the false RadioButtons are shown.
When using Android 6.0 and Appcompat 1.0.0 until 1.6.1 it is always correctly shown, i see always the correct arrows on Android 6.0. I only tested with Android 4.1 and Android 6.0 and some higher versions. On the higher Android Versions it behave like on Android 6.0.
I've seen in the Version List of AppCompat that with Version 1.1.0 the <RadioButton> tag is automatically replaced by AppCompatRadiobutton if the Activity is an AppCompatActivity. I'm Using AppCompatActivity.
Thus my solution currently is to replace the Tag <RadioButton> by <android.widget.RadioButton> forcing my Android to use the old Version of RadioButton.
I could also use radioBtn.setButtonDrawable(R.id.drawable); in my Code after inflating the view, but this is not the solution i want.
Is this a Bug or a feature?