Extending Theme.Dialog Problem

by nEx.Software » Sat, 07 Mar 2009 05:05:37 GMT


Sponsored Links
 I've extended Theme.Dialog to use a different color as per the sample
in the ApiDemos project but for some reason it does not use the theme
properly in my project. I created a new project and it works perfectly
fine there. The main problem here is that it does not show as floating
in my project. Instead, it sets the rest of the screen black except
for what would be the dialog window, where it uses the correct colors,
etc... Any ideas? I am beating my head against the wall here. Thanks
in advance.
--~--~---------~--~----~------------~-------~--~----~



Extending Theme.Dialog Problem

by mibollma » Sat, 07 Mar 2009 06:50:11 GMT


 i ran into the same problem when i was experimenting with
onApplyThemeResource

you will get a black background if you don't call the superclass
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. How to get the root view of current Activity?

Dear all,

Is there a function that allows me to get the top most view (the root)?

Thanks,
Agus.

--~--~---------~--~----~------------~-------~--~----~

2. setContentURI VideoView

I am working on a media player that uses streaming video for
content.   I have noticed a couple of things.   Once I call
setContentURI, the app seems to block until the content is completely
buffered and playback can begin.   If for some reason the connection
to the server gets hung it locks up the entire app.   Selecting the
back button does nothing.  So from that I have a couple of
questions.   How can I specify a timeout on the VideoView for when it
tries to retrieve the content, or how can I code it to make the back
button work so the user can at least cancel the operation.   I tried
placing setContentURI call in a thread and get an exception stating I
am trying to call it from the wrong thread.
--~--~---------~--~----~------------~-------~--~----~

3. Can you make SlidingDrawer slide from top of screen without custom code?

4. J2ME or ANDROID eclipse usage

5. issue with autocompletetextview and ime

6. Css overflow issue

7. How to increase Emulator's Internal memory capacity?