开发者

how to combine two themes in android

Can so开发者_运维百科meone 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


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>


Try something like this:

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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜