{"action":"created","issue":{"url":"https://api.github.com/repos/roomorama/Caldroid/issues/314","labels_url":"https://api.github.com/repos/roomorama/Caldroid/issues/314/labels{/name}","comments_url":"https://api.github.com/repos/roomorama/Caldroid/issues/314/comments","events_url":"https://api.github.com/repos/roomorama/Caldroid/issues/314/events","html_url":"https://github.com/roomorama/Caldroid/issues/314","id":105307716,"number":314,"title":"Wrap Content not working if Caldroid isn't the first child in ScrollView (Samsung S6 Edge)","user":{"login":"rohannexialabs","id":10752605,"avatar_url":"https://avatars.githubusercontent.com/u/10752605?v=3","gravatar_id":"","url":"https://api.github.com/users/rohannexialabs","html_url":"https://github.com/rohannexialabs","followers_url":"https://api.github.com/users/rohannexialabs/followers","following_url":"https://api.github.com/users/rohannexialabs/following{/other_user}","gists_url":"https://api.github.com/users/rohannexialabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rohannexialabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohannexialabs/subscriptions","organizations_url":"https://api.github.com/users/rohannexialabs/orgs","repos_url":"https://api.github.com/users/rohannexialabs/repos","events_url":"https://api.github.com/users/rohannexialabs/events{/privacy}","received_events_url":"https://api.github.com/users/rohannexialabs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-08T06:00:04Z","updated_at":"2015-11-13T02:37:08Z","closed_at":"2015-10-14T03:39:54Z","body":"I have seen some strange issue, I have Caldroid inside a ScrollView. When I make Caldroid as the first child then \"wrap_content\" is working fine but if I make Caldroid as second child, the dates in the calendar are not visible, just month and weeks are visible.\r\n\r\nNote that this is occurring on some devices only such as Samsung S6 Edge. I tested it on emulator and my personal device (YU Yureka), on which it was working fine. If I make the \"Switch\" as \"gone\" then \"wrap_content\" is working fine.\r\n\r\nMy Layout - \r\n```\r\n<ScrollView xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n    android:layout_width=\"match_parent\"\r\n    android:layout_height=\"match_parent\"\r\n    android:fillViewport=\"true\">\r\n\r\n    <LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n        xmlns:custom=\"http://schemas.android.com/apk/res-auto\"\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:background=\"@drawable/repeat_background_login\"\r\n        android:orientation=\"vertical\">\r\n\r\n        <Switch\r\n            android:layout_width=\"match_parent\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:id=\"@+id/sStatus\"\r\n            android:text=\"@string/publish_property\"\r\n            android:textAllCaps=\"false\"\r\n            android:textColor=\"@color/white\"\r\n            android:textSize=\"@dimen/large_text\"\r\n            android:layout_margin=\"20dp\"\r\n            custom:fontName=\"RobotoSlab_Bold\"\r\n            android:visibility=\"visible\"/>\r\n\r\n        <LinearLayout\r\n            android:id=\"@+id/calendar1\"\r\n            android:layout_width=\"match_parent\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:layout_marginTop=\"20dp\"\r\n            android:orientation=\"vertical\" />\r\n         ...\r\n```\r\nThe present workaround which I could find was https://github.com/roomorama/Caldroid/issues/273 which is working for all devices but I don't want to put it like that."},"comment":{"url":"https://api.github.com/repos/roomorama/Caldroid/issues/comments/156303501","html_url":"https://github.com/roomorama/Caldroid/issues/314#issuecomment-156303501","issue_url":"https://api.github.com/repos/roomorama/Caldroid/issues/314","id":156303501,"user":{"login":"thomasdao","id":863218,"avatar_url":"https://avatars.githubusercontent.com/u/863218?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasdao","html_url":"https://github.com/thomasdao","followers_url":"https://api.github.com/users/thomasdao/followers","following_url":"https://api.github.com/users/thomasdao/following{/other_user}","gists_url":"https://api.github.com/users/thomasdao/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasdao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasdao/subscriptions","organizations_url":"https://api.github.com/users/thomasdao/orgs","repos_url":"https://api.github.com/users/thomasdao/repos","events_url":"https://api.github.com/users/thomasdao/events{/privacy}","received_events_url":"https://api.github.com/users/thomasdao/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T02:37:08Z","updated_at":"2015-11-13T02:37:08Z","body":"@rohannexialabs I have fixed this issue in latest Caldroid 2.3.0, let me know if it works, thanks"}}