Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ protected View createView(@NonNull LayoutInflater inflater, @Nullable ViewGroup
mPositiveButton.getOnClickListener().onClick(AbstractDialog.this, BUTTON_POSITIVE)
);
} else {
mPositiveButtonView.setVisibility(View.INVISIBLE);
mPositiveButtonView.setVisibility(View.GONE);
}

// Set Negative Button
Expand All @@ -134,7 +134,7 @@ protected View createView(@NonNull LayoutInflater inflater, @Nullable ViewGroup
mNegativeButton.getOnClickListener().onClick(AbstractDialog.this, BUTTON_NEGATIVE)
);
} else {
mNegativeButtonView.setVisibility(View.INVISIBLE);
mNegativeButtonView.setVisibility(View.GONE);
}

// If Orientation is Horizontal, Hide AnimationView
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<com.google.android.material.button.MaterialButton
android:id="@+id/button_negative"
style="@style/MaterialDialog.NegativeButton"
android:layout_width="0dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.5"
app:iconGravity="textStart"
Expand All @@ -72,7 +72,7 @@
<com.google.android.material.button.MaterialButton
android:id="@+id/button_positive"
style="@style/MaterialDialog.PositiveButton"
android:layout_width="0dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.5"
app:iconGravity="textStart"
Expand Down