mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-22 08:52:18 -05:00
Remove bottom padding in MessageListView onCreate()
If we're going to do this when changing to/from switched mode, we should do it when creating a new MessageListView too.
This commit is contained in:
parent
ec17d34e4d
commit
02316ffdbc
@ -76,7 +76,7 @@ public class MessageListView extends ListView
|
|||||||
float density = context.getResources().getDisplayMetrics().density;
|
float density = context.getResources().getDisplayMetrics().density;
|
||||||
padding = (int)(5 * density);
|
padding = (int)(5 * density);
|
||||||
paddingWide = (int)(12 * density);
|
paddingWide = (int)(12 * density);
|
||||||
setPadding(padding, padding, padding, padding);
|
setPadding(padding, padding, padding, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user