How to easily “Show Layout bounds” for Android debugging?

后端 未结 5 1868
伪装坚强ぢ
伪装坚强ぢ 2021-02-01 21:31

I want to watch the layout of App without boring tap and tap.


I tried adb shell setprop debug.layout true but didn\'t work unless re

5条回答
  •  心在旅途
    2021-02-01 22:25

    I found a DevelopQuickSetting tool can easily make this. https://github.com/kyze8439690/DevelopQuickSetting

    and the core code translate to adb shel is:

    adb shell setprop debug.layout true
    adb shell service check SurfaceFlinger
    

提交回复
热议问题