Widget: SlidingDrawer top to bottom

My android experiments continue… In the last project I had to implement a SlidingDrawer which comes from top and left. The problem was that the default widget does not support all the directions, but only bottom to top and right to left.

Dissertation Statut Juridique Lois Fondamentales That’s why I grabbed the SlidingDrawer source code and modified it in order to allow any direction ( defined as styleable in attrs.xml ). The only problem using custom styleable xml is that if you want to use this widget as library you need to include in the main project also the attrs.xml file as well.. a bit frustrating.

Anyway this is just the sample xml how to include the widget:

Dbq Essay Maker
<relativelayout xmlns:android="http://schemas.android.com/apk/res/android"
   <view class="it.sephiroth.demo.slider.widget.MultiDirectionSlidingDrawer"
      <include android:id="@id/content"
        layout="@layout/pen_content" />
      <imageview android:id="@id/handle"
        android:src="@drawable/sliding_drawer_handle_bottom" />

Btw If you’re interest, here you can find the full source code of the widget including a running application:

Essay Writers Group

How To Write Research SlidingDrawer Demo 

Ghostwriter Kosten Pro Seite

* Updated the code thanks to Maciej Ciemięga.

Creative Writing Ideas For Teenagers