Venugopal
Venugopal

Reputation: 1298

how to combine two themes in android

Can someone please tell me how to combine two theme values(Ex:@android:style/Theme.Dialog and @android:style/Theme.NoTitleBar) for android:theme attribute in manifest file.

Thanks,
venu

Upvotes: 4

Views: 3326

Answers (2)

Venugopal
Venugopal

Reputation: 1298

The solution is to create custom theme. I created a custom theme to combine both @android:style/Theme.Dialog and @android:style/Theme.NoTitleBar as below
<style parent="android:style/Theme.Dialog" name="Theme.NoTitleBar.Dialog"> <item name="android:windowNoTitle">true</item> </style>

Upvotes: 2

kgiannakakis
kgiannakakis

Reputation: 104168

Try something like this:

 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"

Upvotes: 1

Related Questions