The ID for the name of a named element is the fully qualified name of that element, with the: : (two colons) sequences replaced by double underscores (__).
命名元素的名称ID是元素的完全资格名称,带有:(两个直线)序列被双下划线(__)所代替。
The advantage here is that you can dynamically name the element that you seek.
这种形式的优点是,可以动态地指定要搜索的元素。
Keep in mind, though that an element name, which is the name displayed in the user interface, is translatable.
但是要记住,用户界面中显示的元素名称是可翻译的。
应用推荐