Setting a Theme.Dialog to android OS with SDK < 2.0.1

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Setting a Theme.Dialog to android OS with SDK < 2.0.1

Postby amirseg » Sat Aug 28, 2010 5:00 pm

Hi,

I have a strange problem.
I have a few activities and one of tham is defiled as:
[code]<activity android:name="InitialInfo"
android:screenOrientation="portrait" android:theme="@android:style/Theme.Dialog"></activity>
</application>code]

When running the application on emulators\phones with android SDK < 2.0.1, the mentioned activity is not shown (there is only a black screen) - but the application loads up and it is possible to go back to the applicayion and navigate through other screens.
When running the application with a higher SDK the activity is shown as a dialog screen and it works OK.

Do you know of any problems with this on SDK 1.5 or 1.6?

Thanks,
Amir
amirseg
Freshman
Freshman
 
Posts: 8
Joined: Tue Sep 15, 2009 5:36 pm

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: Google Feedfetcher and 3 guests