Overview
The daily use of other apps in the process, will encounter some more beautiful layout, this time we want to learn about other people's layout structure, for reference.
(1) Phone connected to the computer, set the phone as the USB debug mode
Refer to the "Android Studio installation Deployment Series" Seven, the real machine running project
(2) running Android Studio, open tools--android--android Device Monitor
(3) Switch to DDMS
(4) Select the device, click "Dump View hherarchy for UI Automator", we can see the layout of the view structure
(5) If you want to get the color value inside the app, you can open the Android studio Color Picker using the Android Studio 1, open the Colors.xml file for any item, click on the colored box on the left.
2. Adjust the current project of Android Studio and the Android Device monitor interface to ensure they are not obscured
3, use the eyedropper to take color can
Resources
Use Android Studio to view the structure of other apps ' layouts
Android Studio installation Deployment Series 28, Android studio view the layout structure of other apps