sephiroth74 / android-target-tooltip

Create Toast like tooltips, but targets can be specified, plus custom properties and features
MIT License
1.5k stars 278 forks source link

add new property named alignment #90

Open rouddyNeo opened 6 years ago

sephiroth74 commented 6 years ago

Sorry but I don't get what is the alignment property for. There's already an anchor gravity property to align the tooltip with objects. What is this for?

rouddyNeo commented 6 years ago

anchor gravity sets for direction of tooltip but tooltip was always center aligned with anchor alignment makes tooltip align left or right of anchor when gravity is top or bottom , and makes align top or bottom of anchor when gravity is left or right

westnordost commented 6 years ago

I think a screenshot would help to understand the addition.