I want to know whether there is any option to describe textview color based it is positive or negative number through xml only.
if not possible through xml then how can i do it in java as my code make number go positive to negative and viceversa many time and color remain as of starting of App
I want to know whether there is any option to describe textview color based
Share
Like this: (with myTV being your
TextView)There is no way to do this in XML…