No results found

AnyText/文本修改 - Xposed Module Repository

AnyText

Attention

This repository will probably not update any longer, since I am now wirting a new app to change view attributes while running. It’s like element inspection in web development. Follow this link.

本仓库不会再更新(可能),因为我现在在写一个更加通用的应用,用来修改应用运行过程中的View参数,就像web开发中的元素审查一样。详情可以查看这里

What’s this

This application provides features to modify any TextView in any other applications.

本应用提供了修改原生Android应用的文本功能。

How does it work

This application depends on the Xposed framework. For more information about this framework, just visit their website.

Here’s the hook process:

  1. Hook the onCreate method of Application .
  2. After application hook, register an ActivityLifecycleCallback.
  3. In ActivityLifecycleCallback, hook the OnClickListener or directly set it if there’s no listener set inside the TextView, set it to my own customized one.

Quite simple right?

本应用依赖于Xposed框架,如果想要获取更多关于本框架的信息,请访问他们的官网

应用Hook流程:

  1. Hook掉Application类的onCreate方法。
  2. 在执行onCreate之后,注册ActivityLifecycleCallback回调。
  3. ActivityLifecycleCallback中,替换掉TextView中的OnClickListener,把它设置成自己的封装实现。

是不是挺简单的,你也可以自己写一个。

Caution

This application is completely free and 100% open-source. It’s just for learning usage. I don’t take any responsibilities for the result you make while using this application.

本应用完全开源免费,且仅供学习交流使用。使用者在使用本应用的过程产生的任何后果都与开发者无关。

Finally

Screenshots CANNOT be used as evidences!

都说了截图能当个锤子的证据.jpg

Package

com.hhvvg.anytext

Authors

hhvvg

Releases

Release 1.0.2

Release Type: Stable

2/18/2022, 6:56:32 AM

View all releases

Releases

Release 1.0.2

Release Type: Stable

2/18/2022, 6:56:32 AM

In this release, you can enable or disable text background color dynamically. Additionally, text color or click listener can now work perfectly in list view(e.g. RecyclerView), since I change a new hook method. Some extra optimizations added.

在该版本中,你可以动态启用或者关闭文字背景色了。除此之外,列表项中的文本背景色或者是点击监听也可以正常工作了,因为我换了个新的hook方法。还有一些小优化。

Show older versions

© 2021 - 2024 New Xposed Module Repository