{"action":"opened","issue":{"url":"https://api.github.com/repos/mikepenz/Android-Iconics/issues/238","repository_url":"https://api.github.com/repos/mikepenz/Android-Iconics","labels_url":"https://api.github.com/repos/mikepenz/Android-Iconics/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/mikepenz/Android-Iconics/issues/238/comments","events_url":"https://api.github.com/repos/mikepenz/Android-Iconics/issues/238/events","html_url":"https://github.com/mikepenz/Android-Iconics/issues/238","id":191006912,"number":238,"title":"Can't get the icons to appear","user":{"login":"RobertBroersma","id":4519828,"avatar_url":"https://avatars.githubusercontent.com/u/4519828?v=3","gravatar_id":"","url":"https://api.github.com/users/RobertBroersma","html_url":"https://github.com/RobertBroersma","followers_url":"https://api.github.com/users/RobertBroersma/followers","following_url":"https://api.github.com/users/RobertBroersma/following{/other_user}","gists_url":"https://api.github.com/users/RobertBroersma/gists{/gist_id}","starred_url":"https://api.github.com/users/RobertBroersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobertBroersma/subscriptions","organizations_url":"https://api.github.com/users/RobertBroersma/orgs","repos_url":"https://api.github.com/users/RobertBroersma/repos","events_url":"https://api.github.com/users/RobertBroersma/events{/privacy}","received_events_url":"https://api.github.com/users/RobertBroersma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-22T13:36:07Z","updated_at":"2016-11-22T13:36:07Z","closed_at":null,"body":"I'm new to Android development, and your libraries have helped me to learn rapidly, thanks!\r\n\r\nHowever I can't get the icons to show up. I followed the readme line by line, and tried both options in step 3, but couldn't get it to work. I tried to resort to `com.mikepenz.iconics.view.IconicsImageView` but no icon shows up.\r\n\r\nThis is my entire xml layout file\r\n``` lang:xml\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n    <android.support.v7.widget.CardView android:layout_width=\"match_parent\"\r\n    android:layout_height=\"wrap_content\"\r\n    xmlns:app=\"http://schemas.android.com/tools\"\r\n    android:id=\"@+id/cv\"\r\n    android:layout_margin=\"8dp\"\r\n    xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n    xmlns:fresco=\"http://schemas.android.com/apk/res-auto\">\r\n\r\n    <RelativeLayout\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_height=\"wrap_content\"\r\n        >\r\n\r\n        <com.facebook.drawee.view.SimpleDraweeView\r\n            android:id=\"@+id/recipe_image\"\r\n            android:layout_width=\"match_parent\"\r\n            android:layout_height=\"250dp\"\r\n            android:layout_alignParentTop=\"true\"\r\n            fresco:placeholderImage=\"@drawable/recipe_placeholder\"\r\n            android:scaleType=\"centerCrop\" />\r\n\r\n\r\n        <TextView\r\n            android:layout_width=\"wrap_content\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:id=\"@+id/meal_setting_label\"\r\n            android:layout_below=\"@id/recipe_image\"\r\n            android:paddingTop=\"24dp\"\r\n            android:paddingStart=\"16dp\"\r\n            android:paddingEnd=\"16dp\"\r\n            android:paddingBottom=\"0dp\"\r\n            android:textColor=\"#222\"\r\n            android:textSize=\"24sp\"\r\n            />\r\n\r\n        <TextView\r\n            android:layout_width=\"wrap_content\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:id=\"@+id/amount_recipe\"\r\n            android:layout_below=\"@+id/meal_setting_label\"\r\n            android:layout_marginTop=\"-12dp\"\r\n            android:padding=\"16dp\"\r\n            android:paddingTop=\"0dp\"\r\n            />\r\n\r\n        <com.mikepenz.iconics.view.IconicsImageView\r\n            android:layout_width=\"72dp\"\r\n            android:layout_height=\"72dp\"\r\n            android:layout_below=\"@id/amount_recipe\"\r\n            app:iiv_color=\"@android:color/holo_red_dark\"\r\n            app:iiv_icon=\"gmd-favorite\" />\r\n\r\n    </RelativeLayout>\r\n</android.support.v7.widget.CardView>\r\n```\r\n\r\nI also added this to my Proguard file (no idea what it does, but I was browsing some closed issues that had this as the solve)\r\n\r\n```\r\n-keep class .R\r\n-keep class **.R$* {\r\n    <fields>;\r\n}\r\n```\r\n\r\nThese are in my gradle dependencies:\r\n```\r\n    compile('com.mikepenz:materialdrawer:5.8.0@aar') {\r\n        transitive = true\r\n    }\r\n\r\n    compile 'com.android.support:appcompat-v7:25.0.1'\r\n    compile 'com.android.support:cardview-v7:25.0.1'\r\n    compile 'com.android.support:recyclerview-v7:25.0.1'\r\n    compile 'com.android.support:support-v4:25.0.1'\r\n    compile 'com.android.support:design:25.0.1'\r\n    compile 'com.squareup.retrofit2:retrofit:2.1.0'\r\n    compile 'com.squareup.retrofit2:converter-gson:2.1.0'\r\n    compile 'com.squareup.okhttp3:logging-interceptor:3.3.1'\r\n    compile 'com.facebook.fresco:fresco:0.14.1'\r\n    compile 'com.jakewharton:butterknife:8.4.0'\r\n    compile 'com.mikepenz:google-material-typeface:2.2.0.3.original@aar'\r\n    testCompile 'junit:junit:4.12'\r\n    apt 'com.jakewharton:butterknife-compiler:8.4.0'\r\n```\r\n\r\nI was hoping it's a rookie mistake :) Thanks in advance for the help\r\n"}}
{"actor":{"display_login":"RobertBroersma"}}