There\'s a question for the same functionality on Blackberry, and a few different threads referred to this bug (which has since been closed without resolution as far as I ca
I was having difficulty with this on modern android with MaterialComponents theme. My problem was I had set in styles.xml and this overrides the text color whether the item is enabled or disabled. The solution is to set a Color state list and not a color directly.
My styles attribute now looks like: