Like android:actionMenuTextColor
, the one with the android prefix is for the attribute (android.attr.R) defined on the Android platform, and the one without the android prefix is for the Support Library.
So it's for supporting different versions of Android. You can think of it as an old version of Android without Android prefixes. In older versions, the style is read from the Support Library, so the actionMenuTextColor must also be overridden, but the style is applied to all OS versions.
© 2024 OneMinuteCode. All rights reserved.