{"action":"created","issue":{"url":"https://api.github.com/repos/TR4Android/AndroidSlidingUpPanel/issues/14","labels_url":"https://api.github.com/repos/TR4Android/AndroidSlidingUpPanel/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/TR4Android/AndroidSlidingUpPanel/issues/14/comments","events_url":"https://api.github.com/repos/TR4Android/AndroidSlidingUpPanel/issues/14/events","html_url":"https://github.com/TR4Android/AndroidSlidingUpPanel/issues/14","id":68385129,"number":14,"title":"Add ability to properly set Floating Action Button visibility","user":{"login":"TR4Android","id":10142068,"avatar_url":"https://avatars.githubusercontent.com/u/10142068?v=3","gravatar_id":"","url":"https://api.github.com/users/TR4Android","html_url":"https://github.com/TR4Android","followers_url":"https://api.github.com/users/TR4Android/followers","following_url":"https://api.github.com/users/TR4Android/following{/other_user}","gists_url":"https://api.github.com/users/TR4Android/gists{/gist_id}","starred_url":"https://api.github.com/users/TR4Android/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TR4Android/subscriptions","organizations_url":"https://api.github.com/users/TR4Android/orgs","repos_url":"https://api.github.com/users/TR4Android/repos","events_url":"https://api.github.com/users/TR4Android/events{/privacy}","received_events_url":"https://api.github.com/users/TR4Android/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TR4Android/AndroidSlidingUpPanel/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-14T13:59:04Z","updated_at":"2015-04-18T06:16:53Z","closed_at":null,"body":"Taken from issue #12. Because this library also handles the visibility in some cases to make sure the Floating Action Button is appearing correctly depending on the panel position, external calls to `setVisibility()` will be overidden. This will probably be done as a custom call to set the Floating Action Button, so the library can still track the visibility when needed (`mFloatingActionButtonLayout.setFloatingActionButtonVisibility()`)."},"comment":{"url":"https://api.github.com/repos/TR4Android/AndroidSlidingUpPanel/issues/comments/94133256","html_url":"https://github.com/TR4Android/AndroidSlidingUpPanel/issues/14#issuecomment-94133256","issue_url":"https://api.github.com/repos/TR4Android/AndroidSlidingUpPanel/issues/14","id":94133256,"user":{"login":"Arash-gm","id":10308773,"avatar_url":"https://avatars.githubusercontent.com/u/10308773?v=3","gravatar_id":"","url":"https://api.github.com/users/Arash-gm","html_url":"https://github.com/Arash-gm","followers_url":"https://api.github.com/users/Arash-gm/followers","following_url":"https://api.github.com/users/Arash-gm/following{/other_user}","gists_url":"https://api.github.com/users/Arash-gm/gists{/gist_id}","starred_url":"https://api.github.com/users/Arash-gm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arash-gm/subscriptions","organizations_url":"https://api.github.com/users/Arash-gm/orgs","repos_url":"https://api.github.com/users/Arash-gm/repos","events_url":"https://api.github.com/users/Arash-gm/events{/privacy}","received_events_url":"https://api.github.com/users/Arash-gm/received_events","type":"User","site_admin":false},"created_at":"2015-04-18T06:16:53Z","updated_at":"2015-04-18T06:16:53Z","body":"@TR4Android : sorry to answering late , the panel attributes are : \r\n\r\n    <com.sothree.slidinguppanel.FloatingActionButtonLayout  xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n    xmlns:sothree=\"http://schemas.android.com/apk/res-auto\"\r\n    xmlns:fab=\"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=\"match_parent\"\r\n    sothree:umanoFabMode=\"circular_reveal\"\r\n    android:id=\"@+id/fabLayout\">\r\n\r\n\r\n    <!-- SLIDING UP PANEL -->\r\n    <com.sothree.slidinguppanel.SlidingUpPanelLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n        xmlns:fab=\"http://schemas.android.com/apk/res-auto\"\r\n        xmlns:sothree=\"http://schemas.android.com/apk/res-auto\"\r\n        xmlns:tools=\"http://schemas.android.com/tools\"\r\n        android:id=\"@+id/sliding_layout\"\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_height=\"match_parent\"\r\n        android:gravity=\"bottom\"\r\n        sothree:umanoDragView=\"@+id/dragView\"\r\n        sothree:umanoParalaxOffset=\"10dp\"\r\n        sothree:umanoShadowHeight=\"0dp\"\r\n        sothree:umanoFadeColor=\"@color/color_slideup_layout_parallax\"\r\n        sothree:umanoOverlay=\"true\"\r\n        android:background=\"@android:color/transparent\">\r\n\r\nand on onViewCreated of my Fragment i call : \r\n\r\n        slidingLayout.setPanelHeight(1);\r\n        slidingLayout.setPanelState(SlidingUpPanelLayout.PanelState.HIDDEN);\r\n        slidingLayout.setDragView(R.id.view_fake_prevent_swipe);\r\n\r\n    "}}