mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 01:53:31 +00:00
Set corner_radius to custom dialog
This commit is contained in:
parent
b24903fd47
commit
231eab549c
4 changed files with 17 additions and 9 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue