Skip to content

Commit 2ddc3ea

Browse files
author
David Vávra
committed
Fix for avast#6
1 parent 5c27016 commit 2ddc3ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

library/src/eu/inmite/android/lib/dialogs/BaseDialogFragment.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,9 @@ private boolean addNeutralButton(ViewGroup parent, boolean addDivider) {
348348
}
349349

350350
private void addDivider(ViewGroup parent) {
351-
View view = mInflater.inflate(R.layout.dialog_part_button_separator, parent, true);
351+
View view = mInflater.inflate(R.layout.dialog_part_button_separator, parent, false);
352352
view.findViewById(R.id.dialog_button_separator).setBackgroundDrawable(new ColorDrawable(mButtonSeparatorColor));
353+
parent.addView(view);
353354
}
354355

355356
private StateListDrawable getButtonBackground() {

0 commit comments

Comments
 (0)