Did you mean:

<style name="MyTranslucent"
parent="android:Theme.Translucent.NoTitleBar"></style>

Anyway, I can confirm that it indeed does not work.

But this does (in the sense that the title bar is absent):

<style name="MyTranslucent" parent="android:Theme.NoTitleBar"></
style>

How odd. I'd like to know what's up with this, too. Anyone have any
ideas?

Thanks,

Greg

On Feb 16, 9:51 am, Adrien Guichard <[email protected]> wrote:
> if I do add the property:
>         android:theme="@style/android:Theme.Translucent.NoTitleBar"
>
> to my activity into the manifest file, it does work.
>
> if I want to use a custom style that inherit from this style, even
> without setting any properties into my style.xml:
>        android:theme="@style/MyTranslucent"
> and
>        <style name="MyTranslucent"
> parent="android:style/android:Theme.Translucent.NoTitleBar"></style>
>
> it does not work. But if I inherit from another android style (i.e.
> "Dialog" for exemple), it does work...
>
> has someone a solution?
> Thx
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to