{"action":"created","issue":{"url":"https://api.github.com/repos/kyleduo/SwitchButton/issues/49","repository_url":"https://api.github.com/repos/kyleduo/SwitchButton","labels_url":"https://api.github.com/repos/kyleduo/SwitchButton/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/kyleduo/SwitchButton/issues/49/comments","events_url":"https://api.github.com/repos/kyleduo/SwitchButton/issues/49/events","html_url":"https://github.com/kyleduo/SwitchButton/issues/49","id":156414489,"number":49,"title":"在某些情况下控件显示不完整","user":{"login":"start141","id":6055764,"avatar_url":"https://avatars.githubusercontent.com/u/6055764?v=3","gravatar_id":"","url":"https://api.github.com/users/start141","html_url":"https://github.com/start141","followers_url":"https://api.github.com/users/start141/followers","following_url":"https://api.github.com/users/start141/following{/other_user}","gists_url":"https://api.github.com/users/start141/gists{/gist_id}","starred_url":"https://api.github.com/users/start141/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/start141/subscriptions","organizations_url":"https://api.github.com/users/start141/orgs","repos_url":"https://api.github.com/users/start141/repos","events_url":"https://api.github.com/users/start141/events{/privacy}","received_events_url":"https://api.github.com/users/start141/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-24T03:50:38Z","updated_at":"2016-05-24T14:31:36Z","closed_at":null,"body":"以下是一种复现方式\r\n\r\n```xml\r\n<com.kyleduo.switchbutton.SwitchButton\r\n                android:id=\"@+id/sb_custom_miui\"\r\n                android:layout_width=\"wrap_content\"\r\n                android:layout_height=\"wrap_content\"\r\n                android:layout_gravity=\"center\"\r\n                android:layout_centerVertical=\"true\"\r\n                android:layout_alignParentRight=\"true\"\r\n                app:kswBackDrawable=\"@drawable/miui_back_drawable\"\r\n                app:kswBackMeasureRatio=\"2\"\r\n                app:kswThumbDrawable=\"@drawable/miui_thumb_drawable\"\r\n                app:kswThumbHeight=\"18dp\"\r\n                app:kswThumbWidth=\"18dp\" />\r\n```\r\n\r\nAndroid Studio AVD选Nexus 5x\r\n\r\n预览效果是（注意右侧缺了一块）\r\n![qq20160524-0 2x](https://cloud.githubusercontent.com/assets/6055764/15491436/e7e8ad12-21a2-11e6-8264-6f53aa1f0681.png)\r\n"},"comment":{"url":"https://api.github.com/repos/kyleduo/SwitchButton/issues/comments/221289866","html_url":"https://github.com/kyleduo/SwitchButton/issues/49#issuecomment-221289866","issue_url":"https://api.github.com/repos/kyleduo/SwitchButton/issues/49","id":221289866,"user":{"login":"kyleduo","id":7019092,"avatar_url":"https://avatars.githubusercontent.com/u/7019092?v=3","gravatar_id":"","url":"https://api.github.com/users/kyleduo","html_url":"https://github.com/kyleduo","followers_url":"https://api.github.com/users/kyleduo/followers","following_url":"https://api.github.com/users/kyleduo/following{/other_user}","gists_url":"https://api.github.com/users/kyleduo/gists{/gist_id}","starred_url":"https://api.github.com/users/kyleduo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyleduo/subscriptions","organizations_url":"https://api.github.com/users/kyleduo/orgs","repos_url":"https://api.github.com/users/kyleduo/repos","events_url":"https://api.github.com/users/kyleduo/events{/privacy}","received_events_url":"https://api.github.com/users/kyleduo/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T14:31:36Z","updated_at":"2016-05-24T14:31:36Z","body":"确实是宽度计算有误差，很快会更新一个版本。感谢"}}
{"actor":{"display_login":"kyleduo"}}