mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-01-31 14:43:36 +00:00
Set corner_radius to custom dialog
This commit is contained in:
@@ -51,12 +51,14 @@ public class ServerSignupDialog extends DialogFragment {
|
||||
|
||||
bind = DialogServerSignupBinding.inflate(LayoutInflater.from(requireContext()));
|
||||
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity(), R.style.AppTheme_Dialog);
|
||||
|
||||
builder.setView(bind.getRoot())
|
||||
.setTitle("Add server")
|
||||
.setNeutralButton("Delete", (dialog, id) -> { })
|
||||
.setPositiveButton("Save", (dialog, id) -> { })
|
||||
.setNeutralButton("Delete", (dialog, id) -> {
|
||||
})
|
||||
.setPositiveButton("Save", (dialog, id) -> {
|
||||
})
|
||||
.setNegativeButton("Cancel", (dialog, id) -> dialog.cancel());
|
||||
|
||||
return builder.create();
|
||||
|
||||
Reference in New Issue
Block a user