我怎样才能让其他应用程序来充当我的Andr​​oid应用程序一个主题 [英] How can i allow other apps to act as a theme for my Android Application

查看:100
本文介绍了我怎样才能让其他应用程序来充当我的Andr​​oid应用程序一个主题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要建为Android文件管理器应用程序。我想使它主题化,使设计人员可以为我的应用程序的主题。
我看到在GO短信应用类似的事情。

I'm building a File Manager App for Android. And i want to make it themable, so that designers can create themes for my app. I see a similar thing in the Go SMS Pro App.

谁能给我上它是如何做一个线索。

Can anyone give me a clue on how it's done.

我在这里看到类似的问题,但他们没有得到回答:(

I have seen similar questions here but none of them were answered :(

推荐答案

您可以使用此code让其他应用程序的资源

You can get the resources of other application by using this code

context.getPackageManager().getResourcesForApplication(String appPackageName)

这篇关于我怎样才能让其他应用程序来充当我的Andr​​oid应用程序一个主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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