All Projects → zhangke3016 → Virtualuetool

zhangke3016 / Virtualuetool

Show/edit any view's attributions, any app.

Programming Languages

java
68154 projects - #9 most used programming language

VirtualUETool platform

UETool's extension. Show/edit any view's attributions, any app.

VirtualUETool

介绍

VirtualUETool 扩展自UETool实现,底层基于VirtualApp的实现。可以作用于任何App在屏幕上显示的 view,比如 Activity/Fragment/Dialog/PopupWindow 等等。

目前 VirtualUETool 基本可实现 UETool 的所有功能,可直接查看已安装APP:

  • 移动屏幕上的任意 view,如果重复选中一个 view,将会选中其父 view
  • 查看/修改常用控件的属性,比如修改 TextView 的文本内容、文本大小、文本颜色等等
  • 如果你的项目里正在使用 Fresco 的 DraweeView 来呈现图片,那么 UETool 将会提供更多的属性比如图片 URI、默认占位图、圆角大小等等
  • 你可以很轻松的定制任何 view 的属性,比如你想查看一些额外的业务参数
  • 有的时候 UETool 为你选中的 view 并不是你想要的,你可以选择打开 ValidView,然后选中你需要的 View
  • 显示两个 view 的相对位置关系
  • 显示网格栅栏,方便查看控件是否对齐
  • 新增支持查看布局层级
  • 功能扩展中...

下载体验

效果

VirtualUETool VirtualUETool

新增查看布局层级

VirtualUETool VirtualUETool

自定义实现你的 View 的属性

注意:自定义实现View 的属性时,与 UETool 的方式一致

// step 1, implements IAttrs

public class UETFresco implements IAttrs {
  @Override public List<Item> getAttrs(Element element) {

  }
}

// step 2, put in UETool  must in  MyComponentDelegate.beforeApplicationCreate

UETool.putAttrsProviderClass(Class customizeClazz);

UETool.putAttrsProviderClass(String customizeClassName);

需在MyComponentDelegate.beforeApplicationCreate方法内调用,保证在每个App的独立进程中生效

Thanks

UETool

CmProcess

VirtualApp

VirtualXposed

About me

A Android Developer in ShenZhen.

我的简书地址

我的CSDN地址

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].