{"action":"created","issue":{"url":"https://api.github.com/repos/apptik/MultiSlider/issues/15","labels_url":"https://api.github.com/repos/apptik/MultiSlider/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/apptik/MultiSlider/issues/15/comments","events_url":"https://api.github.com/repos/apptik/MultiSlider/issues/15/events","html_url":"https://github.com/apptik/MultiSlider/issues/15","id":118929140,"number":15,"title":"Thumb Drawable Incorrectly Position","user":{"login":"LogicalDesign","id":3293260,"avatar_url":"https://avatars.githubusercontent.com/u/3293260?v=3","gravatar_id":"","url":"https://api.github.com/users/LogicalDesign","html_url":"https://github.com/LogicalDesign","followers_url":"https://api.github.com/users/LogicalDesign/followers","following_url":"https://api.github.com/users/LogicalDesign/following{/other_user}","gists_url":"https://api.github.com/users/LogicalDesign/gists{/gist_id}","starred_url":"https://api.github.com/users/LogicalDesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LogicalDesign/subscriptions","organizations_url":"https://api.github.com/users/LogicalDesign/orgs","repos_url":"https://api.github.com/users/LogicalDesign/repos","events_url":"https://api.github.com/users/LogicalDesign/events{/privacy}","received_events_url":"https://api.github.com/users/LogicalDesign/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-25T21:46:30Z","updated_at":"2015-11-28T19:18:05Z","closed_at":null,"body":"When using a custom Thumb Drawable, the position of the elements are not correctly lined up.\r\n\r\n![activitysearch_sliderbarbutton_up 2x](https://cloud.githubusercontent.com/assets/3293260/11410221/87a2b8b4-937a-11e5-9168-e674070dbb9b.png)\r\n\r\n![thumb_offs](https://cloud.githubusercontent.com/assets/3293260/11410135/e86a4528-9379-11e5-9e59-991c5a28e98c.png)\r\n\r\nCreating a 9patch file out of that Drawable, the position is set correctly.\r\n\r\n![activitysearch_sliderbarbutton_up 9](https://cloud.githubusercontent.com/assets/3293260/11410204/76661adc-937a-11e5-9510-64d35d42360c.png)\r\n\r\n![thumbs_correct](https://cloud.githubusercontent.com/assets/3293260/11410253/c30df5bc-937a-11e5-937e-837a4fbcc447.png)\r\n\r\n\r\n\r\nBut when using the 9patch files to make a up/down state for the Thumbs it was incorrectly positioned again.\r\n```\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\r\n    <!-- Down -->\r\n    <item android:drawable=\"@drawable/sliderbarbutton_down\" android:state_enabled=\"true\" android:state_pressed=\"true\" />\r\n    <!-- Up -->\r\n    <item android:drawable=\"@drawable/sliderbarbutton_up\" android:state_enabled=\"true\" />\r\n</selector>\r\n```"},"comment":{"url":"https://api.github.com/repos/apptik/MultiSlider/issues/comments/160330188","html_url":"https://github.com/apptik/MultiSlider/issues/15#issuecomment-160330188","issue_url":"https://api.github.com/repos/apptik/MultiSlider/issues/15","id":160330188,"user":{"login":"djodjoni","id":4219106,"avatar_url":"https://avatars.githubusercontent.com/u/4219106?v=3","gravatar_id":"","url":"https://api.github.com/users/djodjoni","html_url":"https://github.com/djodjoni","followers_url":"https://api.github.com/users/djodjoni/followers","following_url":"https://api.github.com/users/djodjoni/following{/other_user}","gists_url":"https://api.github.com/users/djodjoni/gists{/gist_id}","starred_url":"https://api.github.com/users/djodjoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djodjoni/subscriptions","organizations_url":"https://api.github.com/users/djodjoni/orgs","repos_url":"https://api.github.com/users/djodjoni/repos","events_url":"https://api.github.com/users/djodjoni/events{/privacy}","received_events_url":"https://api.github.com/users/djodjoni/received_events","type":"User","site_admin":false},"created_at":"2015-11-28T19:18:05Z","updated_at":"2015-11-28T19:18:05Z","body":"it would be weird if another library is interfering with your views. It could be probably in your code, some settings you make at some point. Do you programmatically change your view in some way ?"}}