{"action":"created","issue":{"url":"https://api.github.com/repos/afollestad/material-dialogs/issues/1313","repository_url":"https://api.github.com/repos/afollestad/material-dialogs","labels_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/1313/labels{/name}","comments_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/1313/comments","events_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/1313/events","html_url":"https://github.com/afollestad/material-dialogs/issues/1313","id":210256050,"number":1313,"title":"Dialog indeterminate progress possible bug","user":{"login":"peppe130","id":6855692,"avatar_url":"https://avatars2.githubusercontent.com/u/6855692?v=3","gravatar_id":"","url":"https://api.github.com/users/peppe130","html_url":"https://github.com/peppe130","followers_url":"https://api.github.com/users/peppe130/followers","following_url":"https://api.github.com/users/peppe130/following{/other_user}","gists_url":"https://api.github.com/users/peppe130/gists{/gist_id}","starred_url":"https://api.github.com/users/peppe130/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peppe130/subscriptions","organizations_url":"https://api.github.com/users/peppe130/orgs","repos_url":"https://api.github.com/users/peppe130/repos","events_url":"https://api.github.com/users/peppe130/events{/privacy}","received_events_url":"https://api.github.com/users/peppe130/received_events","type":"User","site_admin":false},"labels":[{"id":234586698,"url":"https://api.github.com/repos/afollestad/material-dialogs/labels/possible%20bug","name":"possible bug","color":"f7c6c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-25T19:29:09Z","updated_at":"2017-03-19T02:21:45Z","closed_at":null,"body":"Hi,\r\n\r\nI'm experiencing some issues using the code below:\r\n\r\n```java\r\n\r\n    MaterialDialog mProgress = new MaterialDialog.Builder(mContext)\r\n            .title(\"Title\")\r\n            .progress(true, 0)\r\n            .positiveText(\"Cancel\")\r\n            .onPositive(new MaterialDialog.SingleButtonCallback() {\r\n                @Override\r\n                public void onClick(@NonNull MaterialDialog dialog, @NonNull DialogAction which) {\r\n                    //Code\r\n                }\r\n             })\r\n            .showListener(new DialogInterface.OnShowListener() {\r\n                @Override\r\n                public void onShow(DialogInterface dialogInterface) {\r\n                    //Code\r\n                }\r\n             })\r\n            .buttonsGravity(GravityEnum.CENTER)\r\n            .progressIndeterminateStyle(true)\r\n            .autoDismiss(true)\r\n            .cancelable(false)\r\n            .show();\r\n\r\n```\r\n\r\nProgress circle is shifted to the right and action buttons do not change their position. How to solve?\r\n"},"comment":{"url":"https://api.github.com/repos/afollestad/material-dialogs/issues/comments/287589359","html_url":"https://github.com/afollestad/material-dialogs/issues/1313#issuecomment-287589359","issue_url":"https://api.github.com/repos/afollestad/material-dialogs/issues/1313","id":287589359,"user":{"login":"afollestad","id":1820165,"avatar_url":"https://avatars3.githubusercontent.com/u/1820165?v=3","gravatar_id":"","url":"https://api.github.com/users/afollestad","html_url":"https://github.com/afollestad","followers_url":"https://api.github.com/users/afollestad/followers","following_url":"https://api.github.com/users/afollestad/following{/other_user}","gists_url":"https://api.github.com/users/afollestad/gists{/gist_id}","starred_url":"https://api.github.com/users/afollestad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afollestad/subscriptions","organizations_url":"https://api.github.com/users/afollestad/orgs","repos_url":"https://api.github.com/users/afollestad/repos","events_url":"https://api.github.com/users/afollestad/events{/privacy}","received_events_url":"https://api.github.com/users/afollestad/received_events","type":"User","site_admin":false},"created_at":"2017-03-19T02:21:45Z","updated_at":"2017-03-19T02:21:45Z","body":"Ah, I see the problem now after using the right code:\r\n\r\n![capture](https://cloud.githubusercontent.com/assets/1820165/24077600/e2ffb836-0c20-11e7-817f-1e5a5be22c6b.PNG)\r\n"}}
{"actor":{"display_login":"afollestad"}}