开发者

Android: Specify String in different Package in Manifest

开发者 https://www.devze.com 2023-01-28 09:31 出处:网络
Is it possible to specify that a @string value belongs to a开发者_运维问答 different package via the Manifest?

Is it possible to specify that a @string value belongs to a开发者_运维问答 different package via the Manifest?

i.e. android:text="@string/my_logo_text"

Implicitly specifies the value as belonging to the current package. Is there a way to fully qualify that this string belongs to another package?


To specify an resource's package you should use as following: android:text="@package:string/another_text"

0

精彩评论

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