From 02316ffdbccce3052a6a774c7aa87aa7fdbc18a0 Mon Sep 17 00:00:00 2001 From: Steven Luo Date: Sun, 3 Jul 2011 02:20:58 -0700 Subject: [PATCH] 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. --- application/src/org/yaaic/view/MessageListView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/org/yaaic/view/MessageListView.java b/application/src/org/yaaic/view/MessageListView.java index 40c395f..a0ed5d3 100644 --- a/application/src/org/yaaic/view/MessageListView.java +++ b/application/src/org/yaaic/view/MessageListView.java @@ -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); } /**