{"action":"created","issue":{"url":"https://api.github.com/repos/ZieIony/Carbon/issues/122","labels_url":"https://api.github.com/repos/ZieIony/Carbon/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/ZieIony/Carbon/issues/122/comments","events_url":"https://api.github.com/repos/ZieIony/Carbon/issues/122/events","html_url":"https://github.com/ZieIony/Carbon/issues/122","id":97126600,"number":122,"title":"cornerRadius interfering with shadow?","user":{"login":"NeverGivinUp","id":11574540,"avatar_url":"https://avatars.githubusercontent.com/u/11574540?v=3","gravatar_id":"","url":"https://api.github.com/users/NeverGivinUp","html_url":"https://github.com/NeverGivinUp","followers_url":"https://api.github.com/users/NeverGivinUp/followers","following_url":"https://api.github.com/users/NeverGivinUp/following{/other_user}","gists_url":"https://api.github.com/users/NeverGivinUp/gists{/gist_id}","starred_url":"https://api.github.com/users/NeverGivinUp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeverGivinUp/subscriptions","organizations_url":"https://api.github.com/users/NeverGivinUp/orgs","repos_url":"https://api.github.com/users/NeverGivinUp/repos","events_url":"https://api.github.com/users/NeverGivinUp/events{/privacy}","received_events_url":"https://api.github.com/users/NeverGivinUp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-24T19:33:49Z","updated_at":"2015-08-16T15:04:44Z","closed_at":"2015-08-15T11:37:34Z","body":"Below are two screen shots of a dialog containing a RecyclerView. \r\n\r\n\r\nBoth screen shots are from the nearly identical layout. \r\n```xml\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<carbon.widget.FrameLayout\r\n    xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\r\n    xmlns:tools=\"http://schemas.android.com/tools\"\r\n    android:layout_width=\"match_parent\"\r\n    android:layout_height=\"wrap_content\"\r\n    android:clipChildren=\"false\"\r\n    tools:context=\"com.vahdat.gastricbypasssupport.ui.DailyExertionInputFragment\">\r\n\r\n\r\n    <carbon.widget.RelativeLayout\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:layout_margin=\"4dp\"\r\n        android:background=\"?android:attr/windowBackground\"\r\n        app:carbon_elevation=\"@dimen/carbon_elevationLow\">\r\n\r\n        <carbon.widget.ImageView\r\n            android:id=\"@+id/image\"\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:layout_marginRight=\"8dp\"\r\n            android:scaleType=\"centerCrop\"/>\r\n\r\n        <carbon.widget.TextView\r\n            android:id=\"@+id/number\"\r\n            android:layout_width=\"wrap_content\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:layout_alignParentEnd=\"true\"\r\n            android:layout_alignParentStart=\"false\"\r\n            android:layout_alignParentTop=\"true\"\r\n            android:layout_marginRight=\"8dp\"\r\n            android:layout_marginTop=\"8dp\"\r\n            android:gravity=\"top|right\"\r\n            android:minEms=\"1\"\r\n            android:textAppearance=\"@style/TextAppearance.AppTheme.Display1\"\r\n            android:textSize=\"@dimen/text_size_display_3\"\r\n            tools:text=\"8\"/>\r\n\r\n        <carbon.widget.TextView\r\n            android:id=\"@+id/text\"\r\n            android:layout_width=\"wrap_content\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:layout_alignParentBottom=\"false\"\r\n            android:layout_alignParentEnd=\"false\"\r\n            android:layout_alignParentStart=\"true\"\r\n            android:layout_alignParentTop=\"true\"\r\n            android:layout_marginLeft=\"8dp\"\r\n            android:layout_marginTop=\"8dp\"\r\n            android:textAppearance=\"@style/TextAppearance.AppTheme.Button\"\r\n            android:textColor=\"?android:textColorSecondary\"\r\n            tools:text=\"SEHR STARK\"/>\r\n    </carbon.widget.RelativeLayout>\r\n</carbon.widget.FrameLayout>\r\n```\r\nIn this first one, the corners are angled.\r\n\r\n![device-2015-07-24-212349](https://cloud.githubusercontent.com/assets/11574540/8882880/f8ad1838-324a-11e5-835a-1f417b17e1c5.png)\r\nIn this second one, I added `app:carbon_cornerRadius=\"10dp\"` to the relative layout.\r\n![device-2015-07-24-212714](https://cloud.githubusercontent.com/assets/11574540/8882881/fac557de-324a-11e5-83bf-597001d453d1.png)\r\n\r\nUnless I'm using it the wrong way (which is quite possible) cornerRadius is interfering with shadows."},"comment":{"url":"https://api.github.com/repos/ZieIony/Carbon/issues/comments/131570061","html_url":"https://github.com/ZieIony/Carbon/issues/122#issuecomment-131570061","issue_url":"https://api.github.com/repos/ZieIony/Carbon/issues/122","id":131570061,"user":{"login":"NeverGivinUp","id":11574540,"avatar_url":"https://avatars.githubusercontent.com/u/11574540?v=3","gravatar_id":"","url":"https://api.github.com/users/NeverGivinUp","html_url":"https://github.com/NeverGivinUp","followers_url":"https://api.github.com/users/NeverGivinUp/followers","following_url":"https://api.github.com/users/NeverGivinUp/following{/other_user}","gists_url":"https://api.github.com/users/NeverGivinUp/gists{/gist_id}","starred_url":"https://api.github.com/users/NeverGivinUp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeverGivinUp/subscriptions","organizations_url":"https://api.github.com/users/NeverGivinUp/orgs","repos_url":"https://api.github.com/users/NeverGivinUp/repos","events_url":"https://api.github.com/users/NeverGivinUp/events{/privacy}","received_events_url":"https://api.github.com/users/NeverGivinUp/received_events","type":"User","site_admin":false},"created_at":"2015-08-16T15:04:44Z","updated_at":"2015-08-16T15:04:44Z","body":"Putting SVGs in the raw folder is a good idea. I'm doing it since I saw you do it. It should be explicitly documented, though.\r\n\r\nA public issue tracker is not the place to discuss private matters. I do wish you all the best, though :-)"}}