HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

wm — Show information about the screen of an Android device. This command can only be used through `adb s

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandshowcliinformationaboutwmscreen
mobile

Problem

How to use the wm command: Show information about the screen of an Android device. This command can only be used through adb shell. More information: <https://web.archive.org/web/20240420064706/https://adbinstaller.com/commands/adb-shell-wm-5b672b17e7958178a2955538>.

Solution

wm — Show information about the screen of an Android device. This command can only be used through adb shell. More information: <https://web.archive.org/web/20240420064706/https://adbinstaller.com/commands/adb-shell-wm-5b672b17e7958178a2955538>.

Display the physical size of an Android device's screen:
wm size


Display the physical density of an Android device's screen:
wm density

Code Snippets

Display the physical size of an Android device's screen

wm size

Display the physical density of an Android device's screen

wm density

Context

tldr-pages: android/wm

Revisions (0)

No revisions yet.