{"action":"closed","number":69,"pull_request":{"url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/pulls/69","id":29705546,"html_url":"https://github.com/jpardogo/PagerSlidingTabStrip/pull/69","diff_url":"https://github.com/jpardogo/PagerSlidingTabStrip/pull/69.diff","patch_url":"https://github.com/jpardogo/PagerSlidingTabStrip/pull/69.patch","issue_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/issues/69","number":69,"state":"closed","locked":false,"title":"Add parsing of independent padding attributes","user":{"login":"ataulm","id":2678555,"avatar_url":"https://avatars.githubusercontent.com/u/2678555?v=3","gravatar_id":"","url":"https://api.github.com/users/ataulm","html_url":"https://github.com/ataulm","followers_url":"https://api.github.com/users/ataulm/followers","following_url":"https://api.github.com/users/ataulm/following{/other_user}","gists_url":"https://api.github.com/users/ataulm/gists{/gist_id}","starred_url":"https://api.github.com/users/ataulm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ataulm/subscriptions","organizations_url":"https://api.github.com/users/ataulm/orgs","repos_url":"https://api.github.com/users/ataulm/repos","events_url":"https://api.github.com/users/ataulm/events{/privacy}","received_events_url":"https://api.github.com/users/ataulm/received_events","type":"User","site_admin":false},"body":"In our app, we require the ability to set a different value for the right padding (we want 0). Although the material guidelines specify that it's possible to add an offset to indicate that the tab strip is scrollable, there are no written guidelines written that mandate the right padding should equal the left padding.\r\n\r\nThis change allows users to specify the left and right paddings independently.\r\n\r\n---\r\n\r\n```xml\r\n<com.astuetz.PagerSlidingTabStrip\r\n    android:id=\"@+id/tabs\"\r\n    android:layout_width=\"match_parent\"\r\n    android:layout_height=\"?attr/actionBarSize\"\r\n    android:background=\"?attr/colorPrimary\"\r\n    app:pstsPaddingMiddle=\"true\" />\r\n```\r\n\r\n![after_as_per_sample](https://cloud.githubusercontent.com/assets/2678555/6289295/08a27d76-b917-11e4-8c84-09565de0f96d.gif)\r\n\r\n---\r\n\r\n```xml\r\n<com.astuetz.PagerSlidingTabStrip\r\n    android:id=\"@+id/tabs\"\r\n    android:layout_width=\"match_parent\"\r\n    android:layout_height=\"?attr/actionBarSize\"\r\n    android:background=\"?attr/colorPrimary\" />\r\n```\r\n\r\n![after_no_padding_specified](https://cloud.githubusercontent.com/assets/2678555/6289327/36fe71b6-b917-11e4-9123-3fcffcad2beb.gif)\r\n\r\n---\r\n\r\n```xml\r\n<com.astuetz.PagerSlidingTabStrip\r\n    android:id=\"@+id/tabs\"\r\n    android:layout_width=\"match_parent\"\r\n    android:layout_height=\"?attr/actionBarSize\"\r\n    android:background=\"?attr/colorPrimary\"\r\n    android:paddingLeft=\"48dp\"\r\n    android:paddingRight=\"48dp\" />\r\n```\r\n\r\n![after_padding_left_and_right](https://cloud.githubusercontent.com/assets/2678555/6289337/4b83a61a-b917-11e4-98ed-ff8e76a435c4.gif)\r\n\r\n\r\n---\r\n\r\n```xml\r\n<com.astuetz.PagerSlidingTabStrip\r\n    android:id=\"@+id/tabs\"\r\n    android:layout_width=\"match_parent\"\r\n    android:layout_height=\"?attr/actionBarSize\"\r\n    android:background=\"?attr/colorPrimary\"\r\n    android:paddingLeft=\"48dp\" />\r\n```\r\n\r\n![after_padding_left_only](https://cloud.githubusercontent.com/assets/2678555/6289344/58f01978-b917-11e4-8ea6-68ec1ed24c3e.gif)","created_at":"2015-02-20T15:45:28Z","updated_at":"2015-02-21T11:31:37Z","closed_at":"2015-02-21T11:31:37Z","merged_at":"2015-02-21T11:31:37Z","merge_commit_sha":"41cae37fda16048de764cfd53a8d5479011d81a9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/pulls/69/commits","review_comments_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/pulls/69/comments","review_comment_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/pulls/comments/{number}","comments_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/issues/69/comments","statuses_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/statuses/9f733e95bbc2cb678850f6176810206383154d5f","head":{"label":"ataulm:master","ref":"master","sha":"9f733e95bbc2cb678850f6176810206383154d5f","user":{"login":"ataulm","id":2678555,"avatar_url":"https://avatars.githubusercontent.com/u/2678555?v=3","gravatar_id":"","url":"https://api.github.com/users/ataulm","html_url":"https://github.com/ataulm","followers_url":"https://api.github.com/users/ataulm/followers","following_url":"https://api.github.com/users/ataulm/following{/other_user}","gists_url":"https://api.github.com/users/ataulm/gists{/gist_id}","starred_url":"https://api.github.com/users/ataulm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ataulm/subscriptions","organizations_url":"https://api.github.com/users/ataulm/orgs","repos_url":"https://api.github.com/users/ataulm/repos","events_url":"https://api.github.com/users/ataulm/events{/privacy}","received_events_url":"https://api.github.com/users/ataulm/received_events","type":"User","site_admin":false},"repo":{"id":31070201,"name":"PagerSlidingTabStrip","full_name":"ataulm/PagerSlidingTabStrip","owner":{"login":"ataulm","id":2678555,"avatar_url":"https://avatars.githubusercontent.com/u/2678555?v=3","gravatar_id":"","url":"https://api.github.com/users/ataulm","html_url":"https://github.com/ataulm","followers_url":"https://api.github.com/users/ataulm/followers","following_url":"https://api.github.com/users/ataulm/following{/other_user}","gists_url":"https://api.github.com/users/ataulm/gists{/gist_id}","starred_url":"https://api.github.com/users/ataulm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ataulm/subscriptions","organizations_url":"https://api.github.com/users/ataulm/orgs","repos_url":"https://api.github.com/users/ataulm/repos","events_url":"https://api.github.com/users/ataulm/events{/privacy}","received_events_url":"https://api.github.com/users/ataulm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ataulm/PagerSlidingTabStrip","description":"An interactive indicator to navigate between the different pages of a ViewPager","fork":true,"url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip","forks_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/forks","keys_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/teams","hooks_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/hooks","issue_events_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/issues/events{/number}","events_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/events","assignees_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/assignees{/user}","branches_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/branches{/branch}","tags_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/tags","blobs_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/git/refs{/sha}","trees_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/statuses/{sha}","languages_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/languages","stargazers_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/stargazers","contributors_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/contributors","subscribers_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/subscribers","subscription_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/subscription","commits_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/commits{/sha}","git_commits_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/git/commits{/sha}","comments_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/comments{/number}","issue_comment_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/issues/comments/{number}","contents_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/contents/{+path}","compare_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/merges","archive_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/downloads","issues_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/issues{/number}","pulls_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/pulls{/number}","milestones_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/milestones{/number}","notifications_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/labels{/name}","releases_url":"https://api.github.com/repos/ataulm/PagerSlidingTabStrip/releases{/id}","created_at":"2015-02-20T15:15:48Z","updated_at":"2015-02-20T15:36:53Z","pushed_at":"2015-02-20T15:36:53Z","git_url":"git://github.com/ataulm/PagerSlidingTabStrip.git","ssh_url":"git@github.com:ataulm/PagerSlidingTabStrip.git","clone_url":"https://github.com/ataulm/PagerSlidingTabStrip.git","svn_url":"https://github.com/ataulm/PagerSlidingTabStrip","homepage":null,"size":26049,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jpardogo:master","ref":"master","sha":"6c560930787e6b84b7033f3b2a9382e66959ba65","user":{"login":"jpardogo","id":1172221,"avatar_url":"https://avatars.githubusercontent.com/u/1172221?v=3","gravatar_id":"","url":"https://api.github.com/users/jpardogo","html_url":"https://github.com/jpardogo","followers_url":"https://api.github.com/users/jpardogo/followers","following_url":"https://api.github.com/users/jpardogo/following{/other_user}","gists_url":"https://api.github.com/users/jpardogo/gists{/gist_id}","starred_url":"https://api.github.com/users/jpardogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpardogo/subscriptions","organizations_url":"https://api.github.com/users/jpardogo/orgs","repos_url":"https://api.github.com/users/jpardogo/repos","events_url":"https://api.github.com/users/jpardogo/events{/privacy}","received_events_url":"https://api.github.com/users/jpardogo/received_events","type":"User","site_admin":false},"repo":{"id":25520515,"name":"PagerSlidingTabStrip","full_name":"jpardogo/PagerSlidingTabStrip","owner":{"login":"jpardogo","id":1172221,"avatar_url":"https://avatars.githubusercontent.com/u/1172221?v=3","gravatar_id":"","url":"https://api.github.com/users/jpardogo","html_url":"https://github.com/jpardogo","followers_url":"https://api.github.com/users/jpardogo/followers","following_url":"https://api.github.com/users/jpardogo/following{/other_user}","gists_url":"https://api.github.com/users/jpardogo/gists{/gist_id}","starred_url":"https://api.github.com/users/jpardogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpardogo/subscriptions","organizations_url":"https://api.github.com/users/jpardogo/orgs","repos_url":"https://api.github.com/users/jpardogo/repos","events_url":"https://api.github.com/users/jpardogo/events{/privacy}","received_events_url":"https://api.github.com/users/jpardogo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jpardogo/PagerSlidingTabStrip","description":"An interactive indicator to navigate between the different pages of a ViewPager","fork":true,"url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip","forks_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/forks","keys_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/teams","hooks_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/hooks","issue_events_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/issues/events{/number}","events_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/events","assignees_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/assignees{/user}","branches_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/branches{/branch}","tags_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/tags","blobs_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/git/refs{/sha}","trees_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/statuses/{sha}","languages_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/languages","stargazers_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/stargazers","contributors_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/contributors","subscribers_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/subscribers","subscription_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/subscription","commits_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/commits{/sha}","git_commits_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/git/commits{/sha}","comments_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/comments{/number}","issue_comment_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/issues/comments/{number}","contents_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/contents/{+path}","compare_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/merges","archive_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/downloads","issues_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/issues{/number}","pulls_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/pulls{/number}","milestones_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/milestones{/number}","notifications_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/labels{/name}","releases_url":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/releases{/id}","created_at":"2014-10-21T12:18:56Z","updated_at":"2015-02-21T11:31:37Z","pushed_at":"2015-02-21T11:31:37Z","git_url":"git://github.com/jpardogo/PagerSlidingTabStrip.git","ssh_url":"git@github.com:jpardogo/PagerSlidingTabStrip.git","clone_url":"https://github.com/jpardogo/PagerSlidingTabStrip.git","svn_url":"https://github.com/jpardogo/PagerSlidingTabStrip","homepage":null,"size":26049,"stargazers_count":812,"watchers_count":812,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":107,"mirror_url":null,"open_issues_count":9,"forks":107,"open_issues":9,"watchers":812,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/pulls/69"},"html":{"href":"https://github.com/jpardogo/PagerSlidingTabStrip/pull/69"},"issue":{"href":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/issues/69"},"comments":{"href":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/jpardogo/PagerSlidingTabStrip/statuses/9f733e95bbc2cb678850f6176810206383154d5f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jpardogo","id":1172221,"avatar_url":"https://avatars.githubusercontent.com/u/1172221?v=3","gravatar_id":"","url":"https://api.github.com/users/jpardogo","html_url":"https://github.com/jpardogo","followers_url":"https://api.github.com/users/jpardogo/followers","following_url":"https://api.github.com/users/jpardogo/following{/other_user}","gists_url":"https://api.github.com/users/jpardogo/gists{/gist_id}","starred_url":"https://api.github.com/users/jpardogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpardogo/subscriptions","organizations_url":"https://api.github.com/users/jpardogo/orgs","repos_url":"https://api.github.com/users/jpardogo/repos","events_url":"https://api.github.com/users/jpardogo/events{/privacy}","received_events_url":"https://api.github.com/users/jpardogo/received_events","type":"User","site_admin":false},"comments":5,"review_comments":1,"commits":1,"additions":15,"deletions":14,"changed_files":1}}