1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-25 18:32:15 -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:
Steven Luo 2011-07-03 02:20:58 -07:00 committed by Sebastian Kaspari
parent ec17d34e4d
commit 02316ffdbc

View File

@ -76,7 +76,7 @@ public class MessageListView extends ListView
float density = context.getResources().getDisplayMetrics().density;
padding = (int)(5 * density);
paddingWide = (int)(12 * density);
setPadding(padding, padding, padding, padding);
setPadding(padding, padding, padding, 0);
}
/**