Skip to content

Instantly share code, notes, and snippets.

View erikswed's full-sized avatar
🏠
Working from home

Hans Erik erikswed

🏠
Working from home
View GitHub Profile
@erikswed
erikswed / MultipleOrientationSlidingDrawer.java
Created August 12, 2017 18:25 — forked from patrickfav/MultipleOrientationSlidingDrawer.java
My solution for a Sliding Drawer that can come from Top: I extracted SlidingTray from this lib http://aniqroid.sileria.com/doc/api/ (by Ahmed Shakil) and refactored it a bit since it had some quirks needed to be used within this lib. It consists of 1 class and you have to add atts in your attrs.xml. Other than that it has pretty much the same us…
package your.app;
/*
* Copyright (c) 2001 - 2012 Sileria, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*