<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>sliding drawer &#8211; Alessandro Crugnola &#8211; sephiroth.it</title>
	<atom:link href="https://blog.sephiroth.it/tag/sliding-drawer/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.sephiroth.it</link>
	<description>programmer by pure chance</description>
	<lastBuildDate>Sat, 22 Oct 2022 07:18:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://blog.sephiroth.it/wp-content/uploads/2019/03/cropped-sepy-big-32x32.png</url>
	<title>sliding drawer &#8211; Alessandro Crugnola &#8211; sephiroth.it</title>
	<link>https://blog.sephiroth.it</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Widget: SlidingDrawer top to bottom</title>
		<link>https://blog.sephiroth.it/2011/03/29/widget-slidingdrawer-top-to-bottom/</link>
					<comments>https://blog.sephiroth.it/2011/03/29/widget-slidingdrawer-top-to-bottom/#comments</comments>
		
		<dc:creator><![CDATA[Alessandro Crugnola]]></dc:creator>
		<pubDate>Tue, 29 Mar 2011 16:36:59 +0000</pubDate>
				<category><![CDATA[android]]></category>
		<category><![CDATA[sliding drawer]]></category>
		<category><![CDATA[widget]]></category>
		<guid isPermaLink="false">http://blog.sephiroth.it/?p=1511</guid>

					<description><![CDATA[My android experiments continue&#8230; 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. That&#8217;s why I grabbed the SlidingDrawer source code and modified it in order &#8230; <a href="https://blog.sephiroth.it/2011/03/29/widget-slidingdrawer-top-to-bottom/" class="more-link">Continue reading <span class="screen-reader-text">Widget: SlidingDrawer top to bottom</span></a>]]></description>
										<content:encoded><![CDATA[<p><a href="https://blog.sephiroth.it/wp-content/uploads/2011/03/device.png"><img decoding="async" class="size-thumbnail wp-image-1512 alignright" style="margin: 5px;" title="slidingdrawer screenshot" src="https://blog.sephiroth.it/wp-content/uploads/2011/03/device-150x150.png" alt="" width="150" height="150"/></a>My android experiments continue&#8230;<br />
In the last project I had to implement a <a href="http://developer.android.com/reference/android/widget/SlidingDrawer.html" target="_blank" rel="noopener">SlidingDrawer</a> 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.</p>
<p>That&#8217;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.</p>
<p>Anyway this is just the sample xml how to include the widget:<br />
<code lang="xml"><br />
<relativelayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"><br />
<view class="it.sephiroth.demo.slider.widget.MultiDirectionSlidingDrawer" xmlns:my="http://schemas.android.com/apk/res/it.sephiroth.demo.slider" android:id="@+id/drawer" my:direction="topToBottom" android:layout_width="fill_parent" android:layout_height="wrap_content" my:handle="@+id/handle" my:content="@+id/content"><br />
<include android:id="@id/content" layout="@layout/pen_content"><br />
<imageview android:id="@id/handle" android:layout_width="wrap_content" android:layout_height="40px" android:src="@drawable/sliding_drawer_handle_bottom"><br />
</imageview></include></view><br />
</relativelayout><br />
</code></p>
<p>Btw If you&#8217;re interest, here you can find the full source code of the widget including a running application:</p>
<p><strong><a href="https://blog.sephiroth.it/wp-content/uploads/2011/03/SlidingDrawerDemo1.zip">SlidingDrawer Demo</a>&nbsp;</strong></p>
<p>* Updated the code&nbsp;thanks to <i>Maciej Ciemięga</i>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.sephiroth.it/2011/03/29/widget-slidingdrawer-top-to-bottom/feed/</wfw:commentRss>
			<slash:comments>76</slash:comments>
		
		
			</item>
	</channel>
</rss>
