hello,
i have an app with a main activity and some child activity.
i have set up the child activity like so in my manifest:
<activity android:name="..."
android:label="..."
android:screenOrientation="landscape"
android:theme="@android:style/Theme.Dialog"
/>
what i like about this theme setting is that the child activity
shows through in a translucent way on top of the parent
activity's view.
i have noticed that if i create my own theme that inherits
from Theme.Dialog:
<style name="Theme.MyDialog" parent="android:style/Theme.Dialog">
</style>
and reference that theme in my activity:
<activity ..
android:theme="@style/Theme.MyDialog"
now the child activity shows against a blank/black background.
why is that?
is there some property of the parent that's not inherited?
or is there some kind of special-casing in the code for
Theme.Dialog?
or perhaps: what is the name of the property that governs the
effect
i'm looking for, of not displaying the next activity against a black
background, but instead to allow the previous activity to show
through?
thanks,
/ eitan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---