To represent the two antagonist “like” and “dislike” values, YouTube uses an elegant solution with a bar that is filled depending on both values:
I used a similar idea in my application where I have the notion of a value “given” and and a value “gotten” for the same item:
The bar uses the color theme defined in the corresponding section in the Android design documentation (that you should really read if you haven’t already).
The code for the bar (called KarmaBar from the above definition) is given below. It’s implemented as a View and it supports animating between different values:
To set the value displayed by the bar (between 0.0f and 1.0f), you can either directly use the property KarmaValue/SetKarmaValue or if you maintain a count of your positive/negatives values, you can use the SetKarmaBasedOnValues method.