{"action":"created","issue":{"url":"https://api.github.com/repos/umano/AndroidSlidingUpPanel/issues/623","labels_url":"https://api.github.com/repos/umano/AndroidSlidingUpPanel/issues/623/labels{/name}","comments_url":"https://api.github.com/repos/umano/AndroidSlidingUpPanel/issues/623/comments","events_url":"https://api.github.com/repos/umano/AndroidSlidingUpPanel/issues/623/events","html_url":"https://github.com/umano/AndroidSlidingUpPanel/issues/623","id":122665545,"number":623,"title":"\"Height must have an exact value or MATCH_PARENT\" exeption in android 6 only","user":{"login":"faraz20","id":5967036,"avatar_url":"https://avatars.githubusercontent.com/u/5967036?v=3","gravatar_id":"","url":"https://api.github.com/users/faraz20","html_url":"https://github.com/faraz20","followers_url":"https://api.github.com/users/faraz20/followers","following_url":"https://api.github.com/users/faraz20/following{/other_user}","gists_url":"https://api.github.com/users/faraz20/gists{/gist_id}","starred_url":"https://api.github.com/users/faraz20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faraz20/subscriptions","organizations_url":"https://api.github.com/users/faraz20/orgs","repos_url":"https://api.github.com/users/faraz20/repos","events_url":"https://api.github.com/users/faraz20/events{/privacy}","received_events_url":"https://api.github.com/users/faraz20/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-17T05:44:56Z","updated_at":"2016-01-10T09:25:45Z","closed_at":null,"body":"Hi\r\nI'm using this library in my project and it works fine in all android version from 4.1 to 5.1, but in android 6, when i set the layout_height of slidingUpPanel to a exact dimention like '160dp', it throw an exeption and say 'Height must have an exact value or MATCH_PARENT' , and when i set the height to match_parent it was okay.\r\n\r\nthis is my layout : \r\n\r\n<RelativeLayout\r\n        android:id=\"@+id/content\"\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_height=\"match_parent\">\r\n\r\n        <RelativeLayout\r\n            android:id=\"@+id/scoreContainer\"\r\n            android:layout_width=\"match_parent\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:layout_alignParentTop=\"true\"\r\n            android:background=\"@drawable/purple_shadow_background\">\r\n\r\n\r\n            <LinearLayout\r\n                android:id=\"@+id/matchActivity_timer_progress_guess\"\r\n                android:layout_width=\"match_parent\"\r\n                android:layout_height=\"2dp\"\r\n                android:background=\"@color/app_green1\"\r\n                android:orientation=\"horizontal\" />\r\n\r\n            <RelativeLayout\r\n                android:id=\"@+id/activity_userInfoContainer\"\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_marginBottom=\"@dimen/global_large_margin\"\r\n                android:layout_marginLeft=\"@dimen/global_small_margin\">\r\n\r\n                <ir.idek.drawandplay.ui.customui.PicHolder\r\n                    android:id=\"@+id/activity_userPic\"\r\n                    android:layout_width=\"@dimen/match_userProfile_size\"\r\n                    android:layout_height=\"@dimen/match_userProfile_size\"\r\n                    android:layout_centerVertical=\"true\" />\r\n\r\n                <LinearLayout\r\n                    android:layout_width=\"wrap_content\"\r\n                    android:layout_height=\"wrap_content\"\r\n                    android:layout_centerVertical=\"true\"\r\n                    android:layout_marginLeft=\"@dimen/global_small_margin\"\r\n                    android:layout_toRightOf=\"@+id/activity_userPic\"\r\n                    android:orientation=\"vertical\">\r\n\r\n                    <TextView\r\n                        android:layout_width=\"wrap_content\"\r\n                        android:layout_height=\"wrap_content\"\r\n                        android:ellipsize=\"end\"\r\n                        android:singleLine=\"true\"\r\n                        android:textColor=\"@color/app_white\"\r\n                        android:textSize=\"@dimen/global_small_txtSize\" />\r\n\r\n                    <TextView\r\n                        android:layout_width=\"wrap_content\"\r\n                        android:layout_height=\"wrap_content\"\r\n                        android:ellipsize=\"end\"\r\n                        android:singleLine=\"true\"\r\n                        android:textColor=\"@color/app_white_light\"\r\n                        android:textSize=\"9dp\" />\r\n\r\n                </LinearLayout>\r\n            </RelativeLayout>\r\n\r\n            <RelativeLayout\r\n                android:id=\"@+id/activity_enemyInfoContainer\"\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:layout_marginBottom=\"@dimen/user_info_container_margin\"\r\n                android:layout_marginRight=\"@dimen/global_small_margin\">\r\n\r\n                <LinearLayout\r\n                    android:id=\"@+id/activity_enemyNameInfo\"\r\n                    android:layout_width=\"wrap_content\"\r\n                    android:layout_height=\"wrap_content\"\r\n                    android:layout_centerVertical=\"true\"\r\n                    android:layout_marginRight=\"@dimen/global_small_margin\"\r\n                    android:gravity=\"right\"\r\n                    android:orientation=\"vertical\">\r\n\r\n                    <TextView\r\n                        android:layout_width=\"wrap_content\"\r\n                        android:layout_height=\"wrap_content\"\r\n                        android:ellipsize=\"end\"\r\n                        android:singleLine=\"true\"\r\n                        android:textColor=\"@color/app_white\"\r\n                        android:textSize=\"@dimen/global_small_txtSize\" />\r\n\r\n                    <TextView\r\n                        android:layout_width=\"wrap_content\"\r\n                        android:layout_height=\"wrap_content\"\r\n                        android:ellipsize=\"end\"\r\n                        android:singleLine=\"true\"\r\n                        android:textColor=\"@color/app_white_light\"\r\n                        android:textSize=\"9dp\" />\r\n                </LinearLayout>\r\n\r\n                <ir.idek.drawandplay.ui.customui.PicHolder\r\n                    android:id=\"@+id/activity_enemyPic\"\r\n                    android:layout_width=\"@dimen/match_userProfile_size\"\r\n                    android:layout_height=\"@dimen/match_userProfile_size\"\r\n                    android:layout_centerVertical=\"true\"\r\n                    android:layout_toRightOf=\"@+id/activity_enemyNameInfo\" />\r\n\r\n            </RelativeLayout>\r\n\r\n            <ir.idek.drawandplay.ui.customui.Timer\r\n                android:id=\"@+id/matchActivity_timer\"\r\n                android:layout_width=\"wrap_content\"\r\n                android:layout_height=\"wrap_content\"\r\n                android:layout_centerInParent=\"true\"\r\n                android:paddingTop=\"10dp\" />\r\n\r\n\r\n        </RelativeLayout>\r\n\r\n        <!-- Drawing View -->\r\n        <ir.idek.drawandplay.ui.customui.GuessView\r\n            android:id=\"@+id/guess_view\"\r\n            android:layout_width=\"fill_parent\"\r\n            android:layout_height=\"fill_parent\"\r\n            android:layout_below=\"@+id/scoreContainer\"\r\n            android:background=\"@android:color/white\" />\r\n\r\n        <!--guess slider layout-->\r\n        <com.sothree.slidinguppanel.SlidingUpPanelLayout\r\n            android:id=\"@+id/guessWordSlider\"\r\n            android:layout_width=\"match_parent\"\r\n            android:layout_height=\"162dp\"\r\n            android:gravity=\"bottom\"\r\n            sothree:dragView=\"@+id/dragView\">\r\n\r\n            <LinearLayout\r\n                android:layout_width=\"match_parent\"\r\n                android:layout_height=\"match_parent\" />\r\n\r\n            <!--bottom fragment container-->\r\n            <LinearLayout\r\n                android:id=\"@+id/bottomBar\"\r\n                android:layout_width=\"match_parent\"\r\n                android:layout_height=\"wrap_content\"\r\n                android:background=\"@drawable/match_footer_panel\"\r\n                android:gravity=\"center\"\r\n                android:orientation=\"vertical\" />\r\n\r\n\r\n        </com.sothree.slidinguppanel.SlidingUpPanelLayout>\r\n\r\n\r\n    </RelativeLayout>"},"comment":{"url":"https://api.github.com/repos/umano/AndroidSlidingUpPanel/issues/comments/170329271","html_url":"https://github.com/umano/AndroidSlidingUpPanel/issues/623#issuecomment-170329271","issue_url":"https://api.github.com/repos/umano/AndroidSlidingUpPanel/issues/623","id":170329271,"user":{"login":"pamartineza","id":5766641,"avatar_url":"https://avatars.githubusercontent.com/u/5766641?v=3","gravatar_id":"","url":"https://api.github.com/users/pamartineza","html_url":"https://github.com/pamartineza","followers_url":"https://api.github.com/users/pamartineza/followers","following_url":"https://api.github.com/users/pamartineza/following{/other_user}","gists_url":"https://api.github.com/users/pamartineza/gists{/gist_id}","starred_url":"https://api.github.com/users/pamartineza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pamartineza/subscriptions","organizations_url":"https://api.github.com/users/pamartineza/orgs","repos_url":"https://api.github.com/users/pamartineza/repos","events_url":"https://api.github.com/users/pamartineza/events{/privacy}","received_events_url":"https://api.github.com/users/pamartineza/received_events","type":"User","site_admin":false},"created_at":"2016-01-10T09:25:45Z","updated_at":"2016-01-10T09:25:45Z","body":"I getting the same problem, ¿did you find any solution?"}}