Reputation: 287
I used <uses-sdk android:minSdkVersion="9" android:maxSdkVersion="15" />
but Theme.Holo doesnot work.
Android Manifest:
<activity android:name=".Login" android:label="@string/app_name" android:theme="@android:style/Theme.Holo.NoTitleBar.Fullscreen" android:screenOrientation="portrait">
Screenshot:
Upvotes: 2
Views: 3066
Reputation: 9375
According to the documentation, the Theme you're referencing doesn't exist.
In this case, it's called Theme_Holo_NoActionBar_Fullscreen
, not Theme_Holo_NoTitleBar_Fullscreen
(ActionBar in Honeycomb is basically the same as a TitleBar pre-Honeycomb)
By the way, do not let the underscores confuse you. In this documentation, when you see an underscore, you're suppose to replace it with a dot .
Also, be sure to target the api level 11 or higher, or it won't find it since this kind of theme was only introduced in Honeycomb.
Upvotes: 2