{"action":"created","issue":{"url":"https://api.github.com/repos/square/picasso/issues/908","labels_url":"https://api.github.com/repos/square/picasso/issues/908/labels{/name}","comments_url":"https://api.github.com/repos/square/picasso/issues/908/comments","events_url":"https://api.github.com/repos/square/picasso/issues/908/events","html_url":"https://github.com/square/picasso/issues/908","id":59298901,"number":908,"title":"Unsure if this is a bug or not... (RemoveView)","user":{"login":"fanno","id":63506,"avatar_url":"https://avatars.githubusercontent.com/u/63506?v=3","gravatar_id":"","url":"https://api.github.com/users/fanno","html_url":"https://github.com/fanno","followers_url":"https://api.github.com/users/fanno/followers","following_url":"https://api.github.com/users/fanno/following{/other_user}","gists_url":"https://api.github.com/users/fanno/gists{/gist_id}","starred_url":"https://api.github.com/users/fanno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fanno/subscriptions","organizations_url":"https://api.github.com/users/fanno/orgs","repos_url":"https://api.github.com/users/fanno/repos","events_url":"https://api.github.com/users/fanno/events{/privacy}","received_events_url":"https://api.github.com/users/fanno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-27T21:45:35Z","updated_at":"2015-03-15T16:04:51Z","closed_at":null,"body":"```java\r\nRemoteViews remoteViews = new RemoteViews(this.getPackageName(),\r\n\t\t\t\tR.layout.notification);\r\n\r\n\t\tNotificationCompat.Builder builder = new NotificationCompat.Builder(\r\n\t\t\t\tthis).setSmallIcon(R.drawable.ic_launcher).setContentIntent(pi)\r\n\t\t\t\t.setOngoing(true);\r\n\t\tbuilder.setContent(remoteViews);\r\n\r\n\t\tNotification notification = builder.build();\r\n\r\n\t\tnotifyMgr = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);\r\n\t\tnotifyMgr.notify(NOTIFY_ME_ID, notification);\r\n....\r\n\t\t\tPicasso.with(this)\r\n\t\t\t\t\t.load(imageUri)\r\n\t\t\t\t\t.resize(200, 200)\r\n\t\t\t\t\t.centerCrop()\r\n\t\t\t\t\t.into(remoteViews, R.id.notification_icon, NOTIFY_ME_ID,\r\n\t\t\t\t\t\t\tnotification);\r\n```\r\n\r\nnow here are two versions of notification.xml\r\n\r\nVersion 1\r\n```xml\r\n<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n    android:id=\"@+id/root\"\r\n    android:layout_width=\"fill_parent\"\r\n    android:layout_height=\"fill_parent\"\r\n    android:gravity=\"start\" >\r\n    <ImageView\r\n        android:id=\"@+id/notification_icon\"\r\n        android:layout_width=\"wrap_content\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:layout_alignParentLeft=\"true\"\r\n        android:layout_centerVertical=\"true\"\r\n        android:scaleType=\"fitStart\"\r\n        android:src=\"@drawable/ic_launcher\" />\r\n\r\n    <ImageView\r\n        android:id=\"@+id/controller\"\r\n        android:layout_width=\"wrap_content\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:layout_alignParentRight=\"true\"\r\n        android:layout_centerVertical=\"true\"\r\n        android:src=\"@drawable/stop\" />\r\n</RelativeLayout>\r\n```\r\n\r\nVersion 1\r\n```xml\r\n<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n    android:id=\"@+id/root\"\r\n    android:layout_width=\"fill_parent\"\r\n    android:layout_height=\"fill_parent\"\r\n    android:gravity=\"start\" >\r\n    <ImageView\r\n        android:id=\"@+id/controller\"\r\n        android:layout_width=\"wrap_content\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:layout_alignParentRight=\"true\"\r\n        android:layout_centerVertical=\"true\"\r\n        android:src=\"@drawable/stop\" />\r\n\r\n    <ImageView\r\n        android:id=\"@+id/notification_icon\"\r\n        android:layout_width=\"wrap_content\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:layout_alignParentLeft=\"true\"\r\n        android:layout_centerVertical=\"true\"\r\n        android:scaleType=\"fitStart\"\r\n        android:src=\"@drawable/ic_launcher\" />\r\n</RelativeLayout>\r\n```\r\n\r\nIf you notice the only differance is the order of the ImageView's.. i am trying to load the image in to notification_icon. now the problem with version 2 the image is loaded on to controller and NOT notification_icon.\r\n\r\n-Thanks\r\n"},"comment":{"url":"https://api.github.com/repos/square/picasso/issues/comments/81129016","html_url":"https://github.com/square/picasso/issues/908#issuecomment-81129016","issue_url":"https://api.github.com/repos/square/picasso/issues/908","id":81129016,"user":{"login":"dnkoutso","id":310370,"avatar_url":"https://avatars.githubusercontent.com/u/310370?v=3","gravatar_id":"","url":"https://api.github.com/users/dnkoutso","html_url":"https://github.com/dnkoutso","followers_url":"https://api.github.com/users/dnkoutso/followers","following_url":"https://api.github.com/users/dnkoutso/following{/other_user}","gists_url":"https://api.github.com/users/dnkoutso/gists{/gist_id}","starred_url":"https://api.github.com/users/dnkoutso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnkoutso/subscriptions","organizations_url":"https://api.github.com/users/dnkoutso/orgs","repos_url":"https://api.github.com/users/dnkoutso/repos","events_url":"https://api.github.com/users/dnkoutso/events{/privacy}","received_events_url":"https://api.github.com/users/dnkoutso/received_events","type":"User","site_admin":false},"created_at":"2015-03-15T16:04:51Z","updated_at":"2015-03-15T16:04:51Z","body":"Just use any file sharing host and paste the link here."}}