mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-26 02:42:16 -05:00
Only resize MessageListView if in delegate mode
This commit is contained in:
parent
76222eefd3
commit
251bee24f7
@ -88,7 +88,7 @@ public class MessageListView extends ListView
|
||||
@Override
|
||||
protected void onDraw(Canvas canvas)
|
||||
{
|
||||
if (parent.getWidth() != parentWidth || parent.getHeight() != parentHeight) {
|
||||
if (delegate && (parent.getWidth() != parentWidth || parent.getHeight() != parentHeight)) {
|
||||
// parent size changed, resizing this child too
|
||||
|
||||
parentWidth = parent.getWidth();
|
||||
|
Loading…
Reference in New Issue
Block a user