{"action":"created","comment":{"url":"https://api.github.com/repos/facebook/react-native/pulls/comments/46116777","id":46116777,"diff_hunk":"@@ -84,6 +85,13 @@ public void setTitle(ReactToolbar view, @Nullable String title) {\n     view.setTitle(title);\n   }\n \n+  @ReactProp(name = \"rtl\")\n+  public void setLayoutDirection(ReactToolbar view, Boolean flag) {\n+    if (flag.equals(true)) {","path":"ReactAndroid/src/main/java/com/facebook/react/views/toolbar/ReactToolbarManager.java","position":14,"original_position":14,"commit_id":"c2e173fe3ddaa47ea90ebc1a7df62ffed51a4fc1","original_commit_id":"c2e173fe3ddaa47ea90ebc1a7df62ffed51a4fc1","user":{"login":"lxsameer","id":53159,"avatar_url":"https://avatars.githubusercontent.com/u/53159?v=3","gravatar_id":"","url":"https://api.github.com/users/lxsameer","html_url":"https://github.com/lxsameer","followers_url":"https://api.github.com/users/lxsameer/followers","following_url":"https://api.github.com/users/lxsameer/following{/other_user}","gists_url":"https://api.github.com/users/lxsameer/gists{/gist_id}","starred_url":"https://api.github.com/users/lxsameer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lxsameer/subscriptions","organizations_url":"https://api.github.com/users/lxsameer/orgs","repos_url":"https://api.github.com/users/lxsameer/repos","events_url":"https://api.github.com/users/lxsameer/events{/privacy}","received_events_url":"https://api.github.com/users/lxsameer/received_events","type":"User","site_admin":false},"body":"in case of null It simply won't do anything and the layout can be controlled by parent layout. Currenly I'm using this feature in my app ","created_at":"2015-11-30T08:16:58Z","updated_at":"2015-11-30T08:16:58Z","html_url":"https://github.com/facebook/react-native/pull/4378#discussion_r46116777","pull_request_url":"https://api.github.com/repos/facebook/react-native/pulls/4378","_links":{"self":{"href":"https://api.github.com/repos/facebook/react-native/pulls/comments/46116777"},"html":{"href":"https://github.com/facebook/react-native/pull/4378#discussion_r46116777"},"pull_request":{"href":"https://api.github.com/repos/facebook/react-native/pulls/4378"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/react-native/pulls/4378","id":51947658,"html_url":"https://github.com/facebook/react-native/pull/4378","diff_url":"https://github.com/facebook/react-native/pull/4378.diff","patch_url":"https://github.com/facebook/react-native/pull/4378.patch","issue_url":"https://api.github.com/repos/facebook/react-native/issues/4378","number":4378,"state":"open","locked":false,"title":"RTL support added for ToolbarAndroid via \"rtl\" property","user":{"login":"lxsameer","id":53159,"avatar_url":"https://avatars.githubusercontent.com/u/53159?v=3","gravatar_id":"","url":"https://api.github.com/users/lxsameer","html_url":"https://github.com/lxsameer","followers_url":"https://api.github.com/users/lxsameer/followers","following_url":"https://api.github.com/users/lxsameer/following{/other_user}","gists_url":"https://api.github.com/users/lxsameer/gists{/gist_id}","starred_url":"https://api.github.com/users/lxsameer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lxsameer/subscriptions","organizations_url":"https://api.github.com/users/lxsameer/orgs","repos_url":"https://api.github.com/users/lxsameer/repos","events_url":"https://api.github.com/users/lxsameer/events{/privacy}","received_events_url":"https://api.github.com/users/lxsameer/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-26T22:01:29Z","updated_at":"2015-11-30T08:16:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3a9f9de503d73a18010f43086ec1288bd7df646f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/react-native/pulls/4378/commits","review_comments_url":"https://api.github.com/repos/facebook/react-native/pulls/4378/comments","review_comment_url":"https://api.github.com/repos/facebook/react-native/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/4378/comments","statuses_url":"https://api.github.com/repos/facebook/react-native/statuses/c2e173fe3ddaa47ea90ebc1a7df62ffed51a4fc1","head":{"label":"lxsameer:tbandroid","ref":"tbandroid","sha":"c2e173fe3ddaa47ea90ebc1a7df62ffed51a4fc1","user":{"login":"lxsameer","id":53159,"avatar_url":"https://avatars.githubusercontent.com/u/53159?v=3","gravatar_id":"","url":"https://api.github.com/users/lxsameer","html_url":"https://github.com/lxsameer","followers_url":"https://api.github.com/users/lxsameer/followers","following_url":"https://api.github.com/users/lxsameer/following{/other_user}","gists_url":"https://api.github.com/users/lxsameer/gists{/gist_id}","starred_url":"https://api.github.com/users/lxsameer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lxsameer/subscriptions","organizations_url":"https://api.github.com/users/lxsameer/orgs","repos_url":"https://api.github.com/users/lxsameer/repos","events_url":"https://api.github.com/users/lxsameer/events{/privacy}","received_events_url":"https://api.github.com/users/lxsameer/received_events","type":"User","site_admin":false},"repo":{"id":46927109,"name":"react-native","full_name":"lxsameer/react-native","owner":{"login":"lxsameer","id":53159,"avatar_url":"https://avatars.githubusercontent.com/u/53159?v=3","gravatar_id":"","url":"https://api.github.com/users/lxsameer","html_url":"https://github.com/lxsameer","followers_url":"https://api.github.com/users/lxsameer/followers","following_url":"https://api.github.com/users/lxsameer/following{/other_user}","gists_url":"https://api.github.com/users/lxsameer/gists{/gist_id}","starred_url":"https://api.github.com/users/lxsameer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lxsameer/subscriptions","organizations_url":"https://api.github.com/users/lxsameer/orgs","repos_url":"https://api.github.com/users/lxsameer/repos","events_url":"https://api.github.com/users/lxsameer/events{/privacy}","received_events_url":"https://api.github.com/users/lxsameer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lxsameer/react-native","description":"A framework for building native apps with React.","fork":true,"url":"https://api.github.com/repos/lxsameer/react-native","forks_url":"https://api.github.com/repos/lxsameer/react-native/forks","keys_url":"https://api.github.com/repos/lxsameer/react-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lxsameer/react-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lxsameer/react-native/teams","hooks_url":"https://api.github.com/repos/lxsameer/react-native/hooks","issue_events_url":"https://api.github.com/repos/lxsameer/react-native/issues/events{/number}","events_url":"https://api.github.com/repos/lxsameer/react-native/events","assignees_url":"https://api.github.com/repos/lxsameer/react-native/assignees{/user}","branches_url":"https://api.github.com/repos/lxsameer/react-native/branches{/branch}","tags_url":"https://api.github.com/repos/lxsameer/react-native/tags","blobs_url":"https://api.github.com/repos/lxsameer/react-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lxsameer/react-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lxsameer/react-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/lxsameer/react-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lxsameer/react-native/statuses/{sha}","languages_url":"https://api.github.com/repos/lxsameer/react-native/languages","stargazers_url":"https://api.github.com/repos/lxsameer/react-native/stargazers","contributors_url":"https://api.github.com/repos/lxsameer/react-native/contributors","subscribers_url":"https://api.github.com/repos/lxsameer/react-native/subscribers","subscription_url":"https://api.github.com/repos/lxsameer/react-native/subscription","commits_url":"https://api.github.com/repos/lxsameer/react-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/lxsameer/react-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/lxsameer/react-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/lxsameer/react-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/lxsameer/react-native/contents/{+path}","compare_url":"https://api.github.com/repos/lxsameer/react-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lxsameer/react-native/merges","archive_url":"https://api.github.com/repos/lxsameer/react-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lxsameer/react-native/downloads","issues_url":"https://api.github.com/repos/lxsameer/react-native/issues{/number}","pulls_url":"https://api.github.com/repos/lxsameer/react-native/pulls{/number}","milestones_url":"https://api.github.com/repos/lxsameer/react-native/milestones{/number}","notifications_url":"https://api.github.com/repos/lxsameer/react-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lxsameer/react-native/labels{/name}","releases_url":"https://api.github.com/repos/lxsameer/react-native/releases{/id}","created_at":"2015-11-26T13:03:56Z","updated_at":"2015-11-26T13:04:03Z","pushed_at":"2015-11-27T21:08:58Z","git_url":"git://github.com/lxsameer/react-native.git","ssh_url":"git@github.com:lxsameer/react-native.git","clone_url":"https://github.com/lxsameer/react-native.git","svn_url":"https://github.com/lxsameer/react-native","homepage":"http://facebook.github.io/react-native/","size":33750,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"599a130c9ac341796f14e4622cd610c4d5f6620e","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":29028775,"name":"react-native","full_name":"facebook/react-native","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/react-native","description":"A framework for building native apps with React.","fork":false,"url":"https://api.github.com/repos/facebook/react-native","forks_url":"https://api.github.com/repos/facebook/react-native/forks","keys_url":"https://api.github.com/repos/facebook/react-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/react-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/react-native/teams","hooks_url":"https://api.github.com/repos/facebook/react-native/hooks","issue_events_url":"https://api.github.com/repos/facebook/react-native/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/react-native/events","assignees_url":"https://api.github.com/repos/facebook/react-native/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/react-native/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/react-native/tags","blobs_url":"https://api.github.com/repos/facebook/react-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/react-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/react-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/react-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/react-native/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/react-native/languages","stargazers_url":"https://api.github.com/repos/facebook/react-native/stargazers","contributors_url":"https://api.github.com/repos/facebook/react-native/contributors","subscribers_url":"https://api.github.com/repos/facebook/react-native/subscribers","subscription_url":"https://api.github.com/repos/facebook/react-native/subscription","commits_url":"https://api.github.com/repos/facebook/react-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/react-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/react-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/react-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/react-native/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/react-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/react-native/merges","archive_url":"https://api.github.com/repos/facebook/react-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/react-native/downloads","issues_url":"https://api.github.com/repos/facebook/react-native/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/react-native/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/react-native/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/react-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/react-native/labels{/name}","releases_url":"https://api.github.com/repos/facebook/react-native/releases{/id}","created_at":"2015-01-09T18:10:16Z","updated_at":"2015-11-30T08:14:06Z","pushed_at":"2015-11-30T07:27:31Z","git_url":"git://github.com/facebook/react-native.git","ssh_url":"git@github.com:facebook/react-native.git","clone_url":"https://github.com/facebook/react-native.git","svn_url":"https://github.com/facebook/react-native","homepage":"http://facebook.github.io/react-native/","size":50956,"stargazers_count":23127,"watchers_count":23127,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3733,"mirror_url":null,"open_issues_count":1023,"forks":3733,"open_issues":1023,"watchers":23127,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/react-native/pulls/4378"},"html":{"href":"https://github.com/facebook/react-native/pull/4378"},"issue":{"href":"https://api.github.com/repos/facebook/react-native/issues/4378"},"comments":{"href":"https://api.github.com/repos/facebook/react-native/issues/4378/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/react-native/pulls/4378/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/react-native/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/react-native/pulls/4378/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/react-native/statuses/c2e173fe3ddaa47ea90ebc1a7df62ffed51a4fc1"}}}}