想问一下,为什么FrameLayout控件获取不到
autojs吧
全部回复
仅看楼主
level 9
刀客浪心1572
楼主
代码是这样的:
var f = className("FrameLayout").drawingOrder(3).depth(3).findOnce();
console.log(f);
画面上是能找到这个控件的,每次返回的还是null
2024年04月18日 12点04分
1
level 9
刀客浪心1572
楼主
内容
2024年04月18日 12点04分
2
level 9
刀客浪心1572
楼主
顶
2024年04月18日 13点04分
3
level 9
刀客浪心1572
楼主
来个人啊
2024年04月18日 14点04分
4
level 1
870469218
写全
2024年04月20日 04点04分
5
刀客浪心1572
把这上面所有的属性写上去就行了吗
2024年04月20日 05点04分
870469218
@刀客浪心1572
是的,className("android.widget.FrameLayout")
2024年04月20日 07点04分
870469218
@刀客浪心1572
有可能你后面的定位错了“.drawingOrder(3).depth(3).findOnce()”,要具体分析
2024年04月20日 07点04分
刀客浪心1572
我去试试,谢谢哥们
2024年04月20日 09点04分
1