加入不同的主题,以Android应用 [英] Add different themes to the android application

查看:120
本文介绍了加入不同的主题,以Android应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想主题,添加到我的android应用。在应用中,用户将具有选项的应用程序的改变的主题。就像 OIShopping名单参加办法。请帮助我如何实现这种结构,我的应用程序。

i want to add themes to my android application. In the application, user will have options to changes theme of the application. Just like OIShopping List appplication. Please help how do i implement this kind of structure to my application.

任何帮助,辅导,指导,具有很强的AP preciated。

Any help, tutorials, guidance are highly appreciated.

感谢..

推荐答案

您可以使用的方法 setTheme()内onClickListener,和插图中的括号把主题。

You can use the method setTheme() within an onClickListener, and inbetween the parenthesis put the theme.

这篇关于加入不同的主题,以Android应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆