Target the middle of the screen when jumping to a message.
This commit is contained in:
parent
04b7cb15cc
commit
2779d7efc5
1 changed files with 2 additions and 2 deletions
|
@ -1066,9 +1066,9 @@ public class ConversationFragment extends LoggingFragment {
|
||||||
pulsePosition = position;
|
pulsePosition = position;
|
||||||
}
|
}
|
||||||
|
|
||||||
list.smoothScrollToPosition(p);
|
layoutManager.scrollToPositionWithOffset(p, list.getHeight() / 4);
|
||||||
} else {
|
} else {
|
||||||
layoutManager.scrollToPosition(p);
|
layoutManager.scrollToPositionWithOffset(p, list.getHeight() / 4);
|
||||||
getListAdapter().pulseAtPosition(position);
|
getListAdapter().pulseAtPosition(position);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue