[英]Android Preference-tag accessibility
I have a settings screen in my app where I display some copyright text as a simple Preference
. 我的应用程序中有一个设置屏幕,在其中显示一些版权文本作为简单的
Preference
。
However I want to override the default accessibility text. 但是,我想覆盖默认的辅助功能文本。 I can't set a
contentDescription
like I can on a normal View
. 我无法像在普通
View
上那样设置contentDescription
。
Any solutions? 有什么办法吗?
Thanks 谢谢
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<Preference
android:key="@string/about_key_copyright_notice"
android:title="@string/about_title_general" />
</PreferenceScreen>
android:summary
是您要寻找的
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.