diff --git a/chat-message-view/src/main/java/me/himanshusoni/chatmessageview/ChatMessageView.java b/chat-message-view/src/main/java/me/himanshusoni/chatmessageview/ChatMessageView.java index b13c010..7e7e3ff 100644 --- a/chat-message-view/src/main/java/me/himanshusoni/chatmessageview/ChatMessageView.java +++ b/chat-message-view/src/main/java/me/himanshusoni/chatmessageview/ChatMessageView.java @@ -155,12 +155,9 @@ private void updatePositionAndGravity() { } default: { arrowRotation = 0; - //arrowParams.addRule(ALIGN_PARENT_RIGHT, TRUE); - containerParams.addRule(ALIGN_PARENT_LEFT, TRUE); + arrowParams.addRule(ALIGN_PARENT_RIGHT, TRUE); arrowParams.setMargins(0, (int) arrowMargin, 0, (int) arrowMargin); - - //containerParams.addRule(LEFT_OF, arrowImage.getId()); - arrowParams.addRule(RIGHT_OF, containerLayout.getId()); + containerParams.addRule(LEFT_OF, arrowImage.getId()); break; } }