Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否导出界面的xml或imageview的bitmap数据? #3

Open
1371030 opened this issue Dec 27, 2018 · 1 comment
Open

能否导出界面的xml或imageview的bitmap数据? #3

1371030 opened this issue Dec 27, 2018 · 1 comment

Comments

@1371030
Copy link

1371030 commented Dec 27, 2018

No description provided.

@qq8-------6
Copy link

目前不支持
导出界面的XML从技术层面是可行的,不论是把整个WINDOW的VIEW树转化为xml形式,还是按照资源ID去apk里面提取原始的资源文件都是可行的
ImageView的bitmap数据无法通过无障碍服务获得,但是有个替代方案,就是截取屏幕截图,然后按照获取到的VIEW坐标区域抠出来

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants