Skip to content

Commit ad2f357

Browse files
committed
Add documentation for the tooltip feature methods
1 parent 46492cb commit ad2f357

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,26 @@ Set the dim amount for the reactions dialog from 0 for no dim to 1 for full dim,
9494
reactButton.setDimAmount(dim);
9595
```
9696

97+
Change tooltip background shape
98+
```java
99+
reactButton.setReactionTooltipShape(R.drawable.shape);
100+
```
101+
102+
Change tooltip text color
103+
```java
104+
reactButton.setReactionTooltipTextColor(Color.BLACK);
105+
```
106+
107+
Change offset between the reaction icon and the tooltip text
108+
```java
109+
reactButton.setTooltipOffsetFromReaction(100);
110+
```
111+
112+
Enable or Disable the Reaction tooltip feature
113+
```java
114+
reactButton.setEnableReactionTooltip(true);
115+
```
116+
97117
Set setOnReactionChangeListener:
98118

99119
```java

0 commit comments

Comments
 (0)