File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
java/com/amrdeveloper/reactbuttonlibrary Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ protected void onCreate(Bundle savedInstanceState) {
20
20
final ReactButton reactButton = findViewById (R .id .reactButton );
21
21
reactButton .setReactions (FbReactions .reactions );
22
22
reactButton .setDefaultReaction (FbReactions .defaultReact );
23
+ reactButton .setEnableReactionTooltip (true );
23
24
24
25
reactButton .setOnReactionChangeListener (new ReactButton .OnReactionChangeListener () {
25
26
@ Override
Original file line number Diff line number Diff line change 8
8
android : id =" @+id/reactButton"
9
9
android : layout_width =" wrap_content"
10
10
android : layout_height =" wrap_content"
11
+ android : layout_centerHorizontal =" true"
12
+ android : layout_centerVertical =" true"
11
13
android : textAllCaps =" false" />
12
14
</RelativeLayout >
You can’t perform that action at this time.
0 commit comments