{"action":"created","issue":{"url":"https://api.github.com/repos/naver/android-pull-to-refresh/issues/41","labels_url":"https://api.github.com/repos/naver/android-pull-to-refresh/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/naver/android-pull-to-refresh/issues/41/comments","events_url":"https://api.github.com/repos/naver/android-pull-to-refresh/issues/41/events","html_url":"https://github.com/naver/android-pull-to-refresh/issues/41","id":71203809,"number":41,"title":"How to build Customization PullToRrefresh with ant ","user":{"login":"lixiang123321","id":3346173,"avatar_url":"https://avatars.githubusercontent.com/u/3346173?v=3","gravatar_id":"","url":"https://api.github.com/users/lixiang123321","html_url":"https://github.com/lixiang123321","followers_url":"https://api.github.com/users/lixiang123321/followers","following_url":"https://api.github.com/users/lixiang123321/following{/other_user}","gists_url":"https://api.github.com/users/lixiang123321/gists{/gist_id}","starred_url":"https://api.github.com/users/lixiang123321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lixiang123321/subscriptions","organizations_url":"https://api.github.com/users/lixiang123321/orgs","repos_url":"https://api.github.com/users/lixiang123321/repos","events_url":"https://api.github.com/users/lixiang123321/events{/privacy}","received_events_url":"https://api.github.com/users/lixiang123321/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-27T07:33:58Z","updated_at":"2015-04-29T07:24:37Z","closed_at":null,"body":"Hi, I have read the Customization guide, and I follow this section \"Customizing icon and custom labels ( another way )\" to customize my pullToRefresh view.\r\n\r\nIt works well in eclipse debug build. (customized)\r\nBut Failed in ant release build. (isn't customized)\r\n\r\nCould you please tell me what can I do to have a customized PullToRefresh view After ant build ?\r\nThank you !\r\n\r\nThis is my customized step following the guide :\r\n1、cause I don't need Flip and rotate, so I Override the LoadingLayout instead of FlipLoadingLayout(or RotateLoadingLayout). And I name it with PullToRefreshCustomLoadingLayout.\r\n\r\n2、In my_project(not the pullToRefresh project)/assets/pulltorefresh.xml, I use\r\n <layout name=\"custom”>\r\n    com.example.component.widget.layout.PullToRefreshCustomLoadingLayout\r\n</layout>\r\n\r\n3、in layout, I use\r\n<com.handmark.pulltorefresh.library.PullToRefreshScrollView\r\n            xmlns:ptr=\"http://schemas.android.com/apk/res-auto\"\r\n            ptr:ptrAnimationStyle=\"custom\"\r\n"},"comment":{"url":"https://api.github.com/repos/naver/android-pull-to-refresh/issues/comments/97330946","html_url":"https://github.com/naver/android-pull-to-refresh/issues/41#issuecomment-97330946","issue_url":"https://api.github.com/repos/naver/android-pull-to-refresh/issues/41","id":97330946,"user":{"login":"lixiang123321","id":3346173,"avatar_url":"https://avatars.githubusercontent.com/u/3346173?v=3","gravatar_id":"","url":"https://api.github.com/users/lixiang123321","html_url":"https://github.com/lixiang123321","followers_url":"https://api.github.com/users/lixiang123321/followers","following_url":"https://api.github.com/users/lixiang123321/following{/other_user}","gists_url":"https://api.github.com/users/lixiang123321/gists{/gist_id}","starred_url":"https://api.github.com/users/lixiang123321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lixiang123321/subscriptions","organizations_url":"https://api.github.com/users/lixiang123321/orgs","repos_url":"https://api.github.com/users/lixiang123321/repos","events_url":"https://api.github.com/users/lixiang123321/events{/privacy}","received_events_url":"https://api.github.com/users/lixiang123321/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T07:24:37Z","updated_at":"2015-04-29T07:24:37Z","body":"I have found the reason of this issue. \r\nIt is not the different between ant or eclipse build lead to.\r\nActually it is because my proguard setting is not matched.(keep class in library, but proguard the customLoadingLayout)\r\nHope this answer can help other struggle in the same problem."}}