From 9c0019f3b214ea50c52553225c34d42a5f88fc7b Mon Sep 17 00:00:00 2001 From: Javier Santos Date: Mon, 11 Jul 2016 12:50:06 +0200 Subject: [PATCH] Fix wrong margins (again) --- .../materialstyleddialogs/MaterialStyledDialog.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/src/main/java/com/github/javiersantos/materialstyleddialogs/MaterialStyledDialog.java b/library/src/main/java/com/github/javiersantos/materialstyleddialogs/MaterialStyledDialog.java index 60c6d64..0ecaeea 100644 --- a/library/src/main/java/com/github/javiersantos/materialstyleddialogs/MaterialStyledDialog.java +++ b/library/src/main/java/com/github/javiersantos/materialstyleddialogs/MaterialStyledDialog.java @@ -472,6 +472,8 @@ private View initStyle() { } else { dialogDescription.setMaxLines(Integer.MAX_VALUE); } + } else { + dialogDescription.setVisibility(View.GONE); } // Set icon animation