Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Hans Erik erikswed

🏠
Working from home
View GitHub Profile
@erikswed
erikswed / MultipleOrientationSlidingDrawer.java
Created Aug 12, 2017 — 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…
View MultipleOrientationSlidingDrawer.java
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
*