Browse Source

change link dialog theme

pull/45/head
Thodoris1999 6 years ago
parent
commit
f55bff6e29
  1. 2
      app/src/main/java/gr/thmmy/mthmmy/editorview/EditorView.java

2
app/src/main/java/gr/thmmy/mthmmy/editorview/EditorView.java

@ -201,7 +201,7 @@ public class EditorView extends LinearLayout {
linkText.getEditText().setText( linkText.getEditText().setText(
editText.getText().toString().substring(editText.getSelectionStart(), editText.getSelectionEnd())); editText.getText().toString().substring(editText.getSelectionStart(), editText.getSelectionEnd()));
} }
new AlertDialog.Builder(context, R.style.AppTheme_Dark_Dialog) new AlertDialog.Builder(context, R.style.AppCompatAlertDialogStyleAccent)
.setTitle(R.string.dialog_create_link_title) .setTitle(R.string.dialog_create_link_title)
.setView(dialogBody) .setView(dialogBody)
.setPositiveButton(R.string.ok, (dialog, which) -> { .setPositiveButton(R.string.ok, (dialog, which) -> {

Loading…
Cancel
Save