{"action":"opened","issue":{"url":"https://api.github.com/repos/afollestad/material-dialogs/issues/519","labels_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/519/comments","events_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/519/events","html_url":"https://github.com/afollestad/material-dialogs/issues/519","id":75776360,"number":519,"title":"Multi-Line in input Dialog","user":{"login":"ialex90","id":5755545,"avatar_url":"https://avatars.githubusercontent.com/u/5755545?v=3","gravatar_id":"","url":"https://api.github.com/users/ialex90","html_url":"https://github.com/ialex90","followers_url":"https://api.github.com/users/ialex90/followers","following_url":"https://api.github.com/users/ialex90/following{/other_user}","gists_url":"https://api.github.com/users/ialex90/gists{/gist_id}","starred_url":"https://api.github.com/users/ialex90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ialex90/subscriptions","organizations_url":"https://api.github.com/users/ialex90/orgs","repos_url":"https://api.github.com/users/ialex90/repos","events_url":"https://api.github.com/users/ialex90/events{/privacy}","received_events_url":"https://api.github.com/users/ialex90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-12T23:24:05Z","updated_at":"2015-05-12T23:24:05Z","closed_at":null,"body":"Hi,\r\n\r\nI am trying to implement a input dialog and all works perfect but I need have a multi-line input, is possible it? I tried this:\r\n                            .inputType(InputType.TYPE_TEXT_FLAG_MULTI_LINE)\r\n                            .inputType(InputType.TYPE_TEXT_FLAG_IME_MULTI_LINE)\r\n\r\nbut doesn't work, I know I can customize a layout and inject it but I wonder if with this code is possible...\r\n\r\nMaterialDialog dialog = new MaterialDialog.Builder(this)\r\n                            .title(\"New Comment\")\r\n                            .backgroundColor(Color.WHITE)\r\n                            .titleColor(Color.parseColor(color))\r\n                            .contentColorRes(R.color.colorPrimaryDialogText)\r\n                            .positiveColor(Color.parseColor(color))\r\n                            .widgetColorRes(android.R.color.transparent)\r\n                            .inputMaxLength(127)\r\n                            .positiveText(R.string.submit)\r\n                            .input(R.string.new_comment_hint, 0, false, new MaterialDialog.InputCallback() {\r\n                                @Override\r\n                                public void onInput(MaterialDialog dialog, CharSequence newComment) {\r\n                                }\r\n                            })\r\n                            .inputType(InputType.TYPE_TEXT_FLAG_MULTI_LINE)\r\n                            .build();\r\n                            \r\ndialog.show();\r\n\r\n\r\n                    View positiveAction = dialog.getActionButton(DialogAction.POSITIVE);\r\n                    positiveAction.setEnabled(false); // Disable by default\r\n                    dialog.show();"}}