diff --git a/android/modules/ui/src/java/ti/modules/titanium/ui/widget/listview/TiListView.java b/android/modules/ui/src/java/ti/modules/titanium/ui/widget/listview/TiListView.java index 590009ee4d0..e9b71766b00 100644 --- a/android/modules/ui/src/java/ti/modules/titanium/ui/widget/listview/TiListView.java +++ b/android/modules/ui/src/java/ti/modules/titanium/ui/widget/listview/TiListView.java @@ -497,7 +497,7 @@ public void processProperties(KrollDict d) { if (d.containsKey(TiC.PROPERTY_SEPARATOR_HEIGHT)) { TiDimension dHeight = TiConvert.toTiDimension(d.get(TiC.PROPERTY_SEPARATOR_HEIGHT), -1); int height = dHeight.getAsPixels(listView); - if (height > 0) { + if (height >= 0) { dividerHeight = height; listView.setDividerHeight(height); } @@ -713,7 +713,7 @@ public void propertyChanged(String key, Object oldValue, Object newValue, KrollP } else if (key.equals(TiC.PROPERTY_SEPARATOR_HEIGHT)) { TiDimension dHeight = TiConvert.toTiDimension(newValue, -1); int height = dHeight.getAsPixels(listView); - if (height > 0) { + if (height >= 0) { dividerHeight = height; listView.setDividerHeight(height); }