有没有办法使用不公开的android资源,我的应用程序? [英] Is there any way to use not public android resources in my application?

查看:119
本文介绍了有没有办法使用不公开的android资源,我的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用下面的资源,我的小工具:

I need to use the following resources in my widget:

  • pressed_application_background_static
  • focused_application_background_static

我希望这些资源的使用可以让我对标准的Andr​​oid和绿色HTC橙色背景。

I hope that usage of these resources will allow me to have orange background on standard android and green on HTC.

但他们并不公开,因此使用

But they are not public, so usage of

android:drawable="@android:drawable/pressed_application_background_static"

是不允许的。目前还没有任何方法来使用他们?

is not allowed. Is still there any way to use them?

推荐答案

好吧,貌似也没办法。

Ok, looks like there is no way.

这篇关于有没有办法使用不公开的android资源,我的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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