{"action":"created","issue":{"url":"https://api.github.com/repos/mikepenz/Android-Iconics/issues/21","labels_url":"https://api.github.com/repos/mikepenz/Android-Iconics/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/mikepenz/Android-Iconics/issues/21/comments","events_url":"https://api.github.com/repos/mikepenz/Android-Iconics/issues/21/events","html_url":"https://github.com/mikepenz/Android-Iconics/issues/21","id":67826113,"number":21,"title":"IconicsImageView layout attributes doesn't work","user":{"login":"arcao","id":315097,"avatar_url":"https://avatars.githubusercontent.com/u/315097?v=3","gravatar_id":"","url":"https://api.github.com/users/arcao","html_url":"https://github.com/arcao","followers_url":"https://api.github.com/users/arcao/followers","following_url":"https://api.github.com/users/arcao/following{/other_user}","gists_url":"https://api.github.com/users/arcao/gists{/gist_id}","starred_url":"https://api.github.com/users/arcao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcao/subscriptions","organizations_url":"https://api.github.com/users/arcao/orgs","repos_url":"https://api.github.com/users/arcao/repos","events_url":"https://api.github.com/users/arcao/events{/privacy}","received_events_url":"https://api.github.com/users/arcao/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mikepenz/Android-Iconics/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/mikepenz/Android-Iconics/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"mikepenz","id":1476232,"avatar_url":"https://avatars.githubusercontent.com/u/1476232?v=3","gravatar_id":"","url":"https://api.github.com/users/mikepenz","html_url":"https://github.com/mikepenz","followers_url":"https://api.github.com/users/mikepenz/followers","following_url":"https://api.github.com/users/mikepenz/following{/other_user}","gists_url":"https://api.github.com/users/mikepenz/gists{/gist_id}","starred_url":"https://api.github.com/users/mikepenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikepenz/subscriptions","organizations_url":"https://api.github.com/users/mikepenz/orgs","repos_url":"https://api.github.com/users/mikepenz/repos","events_url":"https://api.github.com/users/mikepenz/events{/privacy}","received_events_url":"https://api.github.com/users/mikepenz/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-04-11T19:45:06Z","updated_at":"2015-05-05T13:44:56Z","closed_at":null,"body":"I have problem to set icon and color from a layout for `IconicsImageView`. The attributes are not applied.\r\n\r\nExample of layout\r\n```xml\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\r\n    android:orientation=\"vertical\"\r\n    android:layout_width=\"match_parent\"\r\n    android:layout_height=\"match_parent\">\r\n    <IconicsImageView\r\n        android:layout_width=\"wrap_content\"\r\n        android:layout_height=\"wrap_content\"\r\n        app:iiv_icon=\"gmd-label\"\r\n        app:iiv_color=\"@color/secondary_text\"/>\r\n</LinearLayout>\r\n```\r\n\r\nAlso Android Studio 1.2 Beta 3 say: \r\n\r\n> Unexpected namespace prefix \"app\" found for tag IconicsImageView less... (Ctrl+F1) \r\n>\r\n>Most Android views have attributes in the Android namespace. When referencing these attributes you must include the namespace prefix, or your attribute will be interpreted by aapt as just a custom attribute.\r\n>\r\n>Similarly, in manifest files, nearly all attributes should be in the android: namespace.\r\n\r\nBy the way there is no way to change icon color from the code (maybe possible via `IconicsDrawable.colorRes(...)`)."},"comment":{"url":"https://api.github.com/repos/mikepenz/Android-Iconics/issues/comments/99082110","html_url":"https://github.com/mikepenz/Android-Iconics/issues/21#issuecomment-99082110","issue_url":"https://api.github.com/repos/mikepenz/Android-Iconics/issues/21","id":99082110,"user":{"login":"sherpya","id":120074,"avatar_url":"https://avatars.githubusercontent.com/u/120074?v=3","gravatar_id":"","url":"https://api.github.com/users/sherpya","html_url":"https://github.com/sherpya","followers_url":"https://api.github.com/users/sherpya/followers","following_url":"https://api.github.com/users/sherpya/following{/other_user}","gists_url":"https://api.github.com/users/sherpya/gists{/gist_id}","starred_url":"https://api.github.com/users/sherpya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sherpya/subscriptions","organizations_url":"https://api.github.com/users/sherpya/orgs","repos_url":"https://api.github.com/users/sherpya/repos","events_url":"https://api.github.com/users/sherpya/events{/privacy}","received_events_url":"https://api.github.com/users/sherpya/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T13:44:56Z","updated_at":"2015-05-05T13:44:56Z","body":"https://code.google.com/p/android/issues/detail?id=65176"}}