slidingdrawer

How to make an Android SlidingDrawer slide out from the left?

I'm using a slidingDrawer in my application that has its handler placed at the bottom when in portrait mode. When the user switches to landscape mode (widescreen) I would like to have the handler located on the left. When I change the orientation from vertical to horizontal, the handler is placed on the right. I have defined my layout ...

Opening an MS-Cash Drawer, Wrong Code? Bad Code?

Humbling expierence here and I think this one will make a fool of me, but...I'm trying to convert an ancient cash register program to .net. Conquered everything else, but I can't pop open the cash register. Its connected to COM1, you are supposed to send a "trigger" text down COM1 that will cause the register to open. Here is the .net c...

Android SlidingDrawer in Eclipse IDE

I am trying to design an application for Android that makes use of the SlidingDrawer, but I have not been able to use the form (layout?) designer to add this element without producing an exception "IllegalArgumentException: The handle attribute is required and must refer to a valid child." As of March 17th, I believe I have everything u...

How can I disable a view behind my SlidingDrawer in Android?

I have a SlidingDrawer that pops up from the bottom of the screen and fills the screen about 80%. Even though the SlidingDrawer view is in focus, it is still possible to click on items, buttons and other elements in the view that is behind the SlidingDrawer. When SlidingDrawer is active/pulled up/in focus, I want to disable the entire vi...

How do I create a sliding drawer in code?

I'm trying to create a sliding drawer in code, but I don't understand what to do for the AttributeSet part of the constructor. What do I need to do for that? Also, how do I define in code where the slider is going to show up? Thanks, ...

Sliding drawer has 1 transparent pixel between handlebar & content pane.

I have created a sliding drawer with a handle bar and a content pane. There seems to be a single transparent pixel between the handle bar and the content pane. how can i get rid of this. here is my layout xml: <?xml version="1.0" encoding="utf-8"?> <SlidingDrawer android:id="@+id/drawer" visible="visible" xmlns:android="http...

How to create a pull out menu as a new Activity

How do you create a pull out menu as a new Activity. Is it possible to have a button that you can pull out as in the Google's built in camcorder app and have that start a new activity? Does a button support pull out? If not, what does? ...

Sliding drawer with menu and functions...

Hi there, I am working on a video editing app and on my Wildfire the camera app uses a sliding drawer for image adjustments, but it doesn't only list the options (as icons) but when you tap an icon the actual functions or adjustments that you can make are also part of the sliding drawer (see image). I was wondering if I also could d...

Android Layout, move window

Maybe you remember the draggable window in android donut. You have something like a tab. If you tap on this tab with your finger a window slides up an reveals all the applications that are installed on your android phone. Has anyone an idea how to realize this in a layout? ...

Android SlidingDrawer default state?

I'm currently having trouble with a SlidingDrawer. I want it to be closed when the application starts so it doesn't get in the way. However, it is determined that it will be open, despite putting slide.close() in the onCreate() of my activity. It seems to be closed if i use slide.animateClose() instead, but this slows my application down...

Android: can height of SlidingDrawer be set with wrap_content?

I'm trying to implement a SlidingDrawer that will occupy the full screen width, but whose height is determined dynamically by its contents: in other words, standard fill_parent layout behaviour for the width and wrap_content for the height. That's exactly how I've specified it in the layout XML (see below) but the sliding drawer always o...

Overriding OnDraw() for a SlidingDrawer

Hi! I have two questions: What is the function of dispatchDraw()? The documentation says that it draws the children for the widget. Is this called after the onDraw() of the widget or is it totally unrelated. I saw the source code for the SlidingDrawer widget on the Android website. They have not overridden onDraw() for it. I tried ...

SlidingDrawer using a 9 patch handle image.

How do I achieve the following? The first image shows the result I want to achieve. The second one is the current result I'm getting from my layout. Note The image I'm using is the one from android 1.6 jar. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orie...

How to stack Multiple Sliding Drawers in Android

I was wondering if anyone knew how to stack sliding drawers so that it would look like this: So that when a sliding drawer collapses, it falls onto the next ones handler. I am almost able to get this effect by making the sliding drawer the size of the handler, but I dont see a way to programmatically change the size of the sliding dra...