In FlatButton line 49you set mNormalText and don't allow modifying it again. When a programmer needs the idle text to change, there's no available method to override that initial value, which is later reused whenever the button changes states.
Solution: expose setNormalText()
Workaround: Subclass ActionProcessButton, add your accessible mNormalText field and override getNormalText() to return it instead.
In
FlatButton
line49
you set mNormalText and don't allow modifying it again. When a programmer needs the idle text to change, there's no available method to override that initial value, which is later reused whenever the button changes states.Solution: expose setNormalText()
Workaround: Subclass
ActionProcessButton
, add your accessiblemNormalText
field and overridegetNormalText()
to return it instead.