{"id":7793,"date":"2015-10-27T07:55:53","date_gmt":"2015-10-27T07:55:53","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/10\/27\/umano-androidslidinguppanel-resize-main-content-open-source-projects-umano-androidslidinguppanel\/"},"modified":"2015-10-27T07:55:53","modified_gmt":"2015-10-27T07:55:53","slug":"umano-androidslidinguppanel-resize-main-content-open-source-projects-umano-androidslidinguppanel","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/10\/27\/umano-androidslidinguppanel-resize-main-content-open-source-projects-umano-androidslidinguppanel\/","title":{"rendered":"umano AndroidSlidingUpPanel Resize Main Content-open source projects umano\/AndroidSlidingUpPanel"},"content":{"rendered":"<p>SOLVED:<\/p>\n<p>Apparently the source has been updated to add this functionality. Before that happened I forked the source to do this and to have a flag to close on orientation change. My fork is at github.com\/Style87\/AndroidSlidingUpPanel. I don&#8217;t think my changes were pulled into the main branch and I&#8217;m not going to keep it up to date.<\/p>\n<p>Original problem: I am using the umano AndroidSlidingUpPanel library. My main content view is a Google Map fragment and the sliding panel is a LinearLayout with dynamic content from Marker clicks. When a Marker is clicked the sliding panel opens to the anchor point. When the sliding panel has stopped I would like to re-size the main content to fill in the remaining space such that the bottom of the map is aligned with the top of the sliding panel. How can I re-size the main content to the remaining space once the slide has stopped?<\/p>\n<p>Feel free to use modify the demo to explain.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SOLVED: Apparently the source has been updated to add this functionality. Before that happened I forked the source to do this and to have a flag to close on orientation change. My fork is at github.com\/Style87\/AndroidSlidingUpPanel. I don&#8217;t think my changes were pulled into the main branch and I&#8217;m not going to keep it up [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7793","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7793"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7793\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}