I have a bit of a problem with a SlidingDrawer that I created and that should go over my VideoView. When the activity is opened for the first time you can see the slider above the video and when you tap it, it slides open. However, as soon as you close the slider it seems to disappear underneath the VideoView and is not visible anymore. It is still there and when you tap the location where the handle is located the slidingDrawer reappears, but I would rather prefer if it wasn't hiding all the time ;) If anyone knows what I can do about that and help me out, that would be really fantastic because I have been trying for hours now and I have no idea what I should do. I also haven't found a similar issue or a solution for that.
This here is the xml code for the videoview and the slidingDrawer: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/shape_background_gradient" > <VideoView android:layout_width="240px" android:layout_height="180px" android:id ="@+id/VideoViewEdit" android:layout_centerHorizontal="true" > </VideoView> <ScrollView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@id/VideoViewEdit"> <TableLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:stretchColumns="0"> <TableRow android:background="@drawable/shape_track_background" android:padding="5px" > <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_editor_videotrack" android:padding="5px" android:layout_gravity="left"/> </TableRow> <TableRow android:background="@drawable/shape_track_background" android:padding="5px" > <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_editor_audiotrack" android:padding="5px" android:layout_gravity="left"/> </TableRow> <TableRow android:background="@drawable/shape_track_background" android:padding="5px" > <ImageButton android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_editor_add_media" android:padding="5px" android:layout_gravity="left" /> </TableRow> </TableLayout> </ScrollView> <SlidingDrawer android:id="@+id/drawer" android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="horizontal" android:handle="@+id/handle" android:content="@+id/content"> <ImageView android:id="@id/handle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/slider_handle" />
I require a sliding drawer in my application. It should be placed at the bottom of the page. It has to contain a set of images and I have to set a background color for the sliding drawer. I saw some sample codes...But I am not getting a clear idea on how to do it.
I want to port my application on all android devices, and I want to have the right/left animation on the activities transition on all android platform versions. I know that this feature is implemented in the 2.0 version. How can I implement this feature for the lower versions?
I am running out of room on my application for buttons, so I want to stick them into some sort of sliding container, like the one at the top of the Astro File Manager application. How do I go about doing this?
I am new to android development. I wanted to make a button on one of my activities that I can drag to slide my current activity page to the next activity page. The button will be in the center of the screen and I want to be able to press and drag it horizontally to one end of the screen while I am dragging my button I can see my current activity page moving. It is actually like when one slides on the home screen and can control the sliding depending on how far he slides his finger on the screen.
What I want to carry out is that the handle of the SlidingDrawer will be dragged by my finger, and when My finger leaves the screen, the handle of the SlidingDrawer will be just stop there and don't slide to top or bottom.
The footprints and clock app on a HTC sense phones use a slider control on the bottom buttonbar (see this movie for an example code...
From the hierarchy viewer I can see that they use a custom control for this. I'm looking for a way to achieve the same effect. I want a buttonbar on the bottom of my app with a movable selector which I can drag from left to right and back, thereby selecting the different tabs.
Can anyone give some tips on how I might achieve this? Which layout controls could I use for this purpose? I know how to create the tabs and the button bar, but I'm a bit puzzled on the sliding selector.
I'm looking for some type of patch that would allow me to answer calls and enable speakerphone by just sliding out my keyboard on my Lg Ally. I do have some experience in coding, so if someone could point me in the right direction,
I'm currently developing an Android-app, in which I have already implemented an Slidingmenu (jfeinstein10's library). As above-views I have several activities I'd like to switch between with the menu-items in my Slidingmenu. For the most part, these activities consist of two fragments, a list and a content-view. In landscape-mode both are displayed, in portrait-mode only the list. Currently I'm switching between these activities with intents, which is not a very pretty "solution". How should I implement this?
I've bought myself an X10, and am loving it so far.
The only slight annoyance is that it tends to alter things in my pocket, and I have no idea how to change it. The first example was when I started texting, and the text came up in Japanese, even though the keyboard was in English (This is through Handscent SMS). I have since fixed the problem, and now find it quite funny turning it back on and annoying friends with symbols that they can't make out at all.
My current problem is that the unlocking bar, instead of needing to be swiped from the bottom left up and to the right, has moved to the bottom right, needing to be swiped up and to the left. This feels un-natural, and really needs to be changed back. I've been browsing this site for an answer but can't seem to find one, although I'm sure somebody here will be able to help me out!
My fingers always seem to get caught or hung up on the screen when I am scrolling or touching the Eris's screen, especially when I am using Swype. Has anyone else run into this and if so what do you do to fix this?
I realized yesterday that I'm killing my battery life by having my Droid sliding open while in my pocket. I never really paid attention to it, the sliding open never really bothered me, until I realized that basically my phone was sliding open, coming on, then closing, then opening again. Does anyone use a case that keeps it from opening?
While on a call and using speaker how do i wake the phone up without sliding out keyboard ? keybeeetsss ~ i thought i found the answer and it was a dumb question but looking back its not because i didn't find answer.
Just bought my wife her first Android phone, an original Droid (A855). Seems they're on sale everyhwere since the release of the X. Anyway, she absolutely HATES that Motoblur green side-pulling tab thing for answering a phone call. She just can't seem to get the hang of it. Is there some way to change that, or is there an app available that will change the interface and just give her a simple button to push for answering a call?
yup thats it, I get a call talk then when its time to hang up get a black/blank screen and will not work till i slide it open ... sometimes i have to take out the battery and reset it but not as often since the upgrade
My keyboard is constantly sliding out when in my pocket or other times when I don't want it to. Really annoying. I like the phone but am not sold on the quality of it at all. I think I am taking it back and waiting for the passion.
I need to create an application with 4 view. I need to pass from a view to an other simply by a touch and a move to the left or to the right (no button). The effect I would like is the same that you see when you navigate in the main menu of android when you pass from a page to another.
I have tested the ViewFlipper, but I cannot use it: it seems not to catch the touch event correctly. I don't even know if it is the right component.
I am new here and i have just got my HTC desire. Its a great phone. When i clicked on the MUSIC button i noticed a few pre-loaded songs and i could move from one song to another by slidding my finger across the screen. When i downloaded my own songs(and deleted the pre-loaded ones) the phone just wouldn't move from one song to another by slidding my finger across the screen. And about the wifi. I use the POWER CONTROL widget. When i pressed the button for wifi, it started connecting and the green line under the button appeared and a few moments later(2 sec) also that sign on top of the screen. But i wanted to remove my google account so i had to use the option FACTORY DATA RESET. Now when i click that wifi button it starts connecting and that green line under the button appears, however now it takes 5 seconds or more for that sign on top of the screen to appear(before that sign appears i can't use my wifi connection).
I am looking for a case that will prevent the keyboard from sliding out. I know I will more than likely not find what I am looking for because the slide out keyboard is a selling point for this phone, but mine keeps sliding out in my pocket and I am concerned that the open portion of the keyboard might bend, flex or crack if it is bent the wrong way. Maybe I am being paranoid, but it never hurts to be preventative