Get and toggle *Show layout bounds* with adb #40

Closed
opened 2025-05-17 05:54:57 +02:00 by Benjamin_Loison · 5 comments

DuckDuckGo search "adb" "Show layout bounds".

#39 comes from the Stack Overflow question 23799848.

adb shell getprop | grep -E 'layout|bound|layer'
Output:
[debug.hwui.show_layers_updates]: []
[debug.layout]: [false]
[ro.media.recorder-max-base-layer-fps]: [60]

Would help Benjamin_Loison/Voice_assistant.

DuckDuckGo search `"adb" "Show layout bounds"`. #39 comes from [the Stack Overflow question 23799848](https://stackoverflow.com/q/23799848). ```bash adb shell getprop | grep -E 'layout|bound|layer' ``` <details> <summary>Output:</summary> ``` [debug.hwui.show_layers_updates]: [] [debug.layout]: [false] [ro.media.recorder-max-base-layer-fps]: [60] ``` </details> Would help [Benjamin_Loison/Voice_assistant](https://codeberg.org/Benjamin_Loison/Voice_assistant).
Author
Owner

The Stack Overflow answer 50618460 works fine.

While looking simpler the Stack Overflow answer 29483847 does not work.

Debug GPU overdraw does not seem useful for the voice assistant, see the YouTube video GOJaOsJ0BJs.

[The Stack Overflow answer 50618460](https://stackoverflow.com/a/50618460) works fine. While looking simpler [the Stack Overflow answer 29483847](https://stackoverflow.com/a/29483847) does not work. *Debug GPU overdraw* does not seem useful for the voice assistant, see [the YouTube video `GOJaOsJ0BJs`](https://www.youtube.com/watch?v=GOJaOsJ0BJs).
Author
Owner

debug.hwui.show_layers_updates does not seem much relevant for the voice assistant too.

`debug.hwui.show_layers_updates` does not seem much relevant for the voice assistant too.
Author
Owner
Related to [Benjamin_Loison/termux-tools/issues/2](https://codeberg.org/Benjamin_Loison/termux-tools/issues/2).
Author
Owner

While uppercase values may work, let us prefer complying with the exisiting convention.

While uppercase values may work, let us prefer complying with the exisiting convention.
Author
Owner
[Benjamin_Loison/Voice_assistant/compare/8a296a9be6fd8955ecf0d8739894bb0bc71f9e81..3ed19417007510097dc980cd3b1f307adf9aaedf](https://codeberg.org/Benjamin_Loison/Voice_assistant/compare/8a296a9be6fd8955ecf0d8739894bb0bc71f9e81..3ed19417007510097dc980cd3b1f307adf9aaedf)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Benjamin_Loison/adb#40
No description provided.