dumpsys activity com.android.launcher3 | grep -A200 "View Hierarchy"
打印如下
View Hierarchy:
DecorView@c30f5b3[QuickstepLauncher]
android.widget.LinearLayout{7275770 V.E...... .......D 0,0-3840,2160}
android.view.ViewStub{9048ae9 G.E...... ......I. 0,0-0,0 #10201ca android:id/action_mode_bar_stub}
android.widget.FrameLayout{278536e V.E...... .......D 0,0-3840,2160 #1020002 android:id/content}
com.android.launcher3.LauncherRootView{bbb3a0f V.E...... .......D 0,0-3840,2160 #7f0901b3 app:id/launcher}
com.android.launcher3.dragndrop.DragLayer{1027a9c V.E...... .......D 0,0-3840,2160 #7f090123 app:id/drag_layer}
com.android.launcher3.views.AccessibilityActionsView{11eca5 V.E...... ........ 0,72-3840,2160}
com.android.launcher3.Workspace{a5a387a V.ED..... .......D 0,0-3840,2160 #7f090383 app:id/workspace}
com.android.launcher3.CellLayout{dfb682b V.ED..... .......D 224,72-3616,1996}
com.android.launcher3.ShortcutAndWidgetContainer{a0aa488 V.E...... .......D 89,0-3303,1836}
com.android.launcher3.qsb.QsbContainerView{dd9ae21 V.E...... .......D 483,626-2731,897 #7f09028b app:id/search_container_workspace}
android.widget.FrameLayout{4524f04 V.E...... .......D 0,0-2248,271}
com.android.launcher3.qsb.QsbWidgetHostView{7436246 VFE...... R.....ID 0,0-2248,271 #7f090253 app:id/qsb_widget}
android.widget.FrameLayout{7c65c07 V.E...... .......D 0,51-2248,219 #7f0b20e0 app:id/googleapp_search_widget_ghost_tap_targets}
android.widget.LinearLayout{3e98134 V.E...... ........ 24,0-2224,168 #7f0b20e1 app:id/googleapp_search_widget_ghost_tap_targets_4dp}
android.widget.FrameLayout{2020b5d VFE...C.. ........ 0,0-144,168 #7f0b20dd app:id/googleapp_search_widget_ghost_google_logo}
android.widget.FrameLayout{1435cd2 VFE...C.. ........ 144,0-1900,168 #7f0b20e2 app:id/googleapp_search_widget_ghost_text_search}
android.widget.FrameLayout{c62b1a3 G.E...... ......I. 0,0-0,0 #7f0b20df app:id/googleapp_search_widget_ghost_shortcut}
android.widget.FrameLayout{f377ca0 VFE...C.. ........ 1900,0-2044,168 #7f0b20e3 app:id/googleapp_search_widget_ghost_voice_search}
android.widget.FrameLayout{6590059 VFE...C.. ........ 2044,0-2200,168 #7f0b20de app:id/googleapp_search_widget_ghost_lens}
android.widget.FrameLayout{fd6741e V.E...... .......D 0,12-2248,156 #7f0b20f4 app:id/googleapp_search_widget_two_right_icons}
android.widget.ImageView{2e4c4ff V.ED..... ......ID 0,0-2248,144 #7f0b20d9 app:id/googleapp_search_widget_background_protection}
android.widget.ImageView{ba7c2cc G.ED..... ......I. 0,0-0,0 #7f0b20db app:id/googleapp_search_widget_background_protection_light_mode}
android.widget.ImageView{9904915 G.ED..... ......I. 0,0-0,0 #7f0b20da app:id/googleapp_search_widget_background_protection_dark_mode}
android.widget.ImageView{3f1b42a VFED..C.. ......ID 0,0-2248,144 #7f0b20d6 app:id/googleapp_search_widget_background}
android.widget.ImageView{54ab21b G.ED..... ......I. 0,0-0,0 #7f0b20d8 app:id/googleapp_search_widget_background_light_mode}
android.widget.ImageView{ef43fb8 G.ED..... ......I. 0,0-0,0 #7f0b20d7 app:id/googleapp_search_widget_background_dark_mode}
android.widget.LinearLayout{9b96191 V.E...... .......D 0,0-2248,144 #7f0b20be app:id/googleapp_search_plate}
android.widget.FrameLayout{6cee8f6 V.E...... .......D 0,0-144,144}
android.widget.ImageButton{55854f7 VFED..C.. ......ID 0,0-144,144 #7f0b20e4 app:id/googleapp_search_widget_google_logo}
android.widget.ImageButton{e899f64 GFED..C.. ......I. 0,0-0,0 #7f0b20e5 app:id/googleapp_search_widget_google_logo_full}
android.widget.ImageButton{a8185cd GFED..C.. ......I. 0,0-0,0 #7f0b20dc app:id/googleapp_search_widget_doodle}
android.widget.FrameLayout{9789e82 V.E...... ........ 144,0-1948,144 #7f0b20a9 app:id/googleapp_search_edit_frame}
android.widget.LinearLayout{3334993 G.E...... ......I. 0,0-0,0 #7f0b20e6 app:id/googleapp_search_widget_hint}
android.widget.ImageView{7f34dd0 V.ED..... ......I. 0,0-0,0 #7f0b20f3 app:id/googleapp_search_widget_trending_icon}
android.widget.TextView{32db1c9 V.ED..... ......ID 0,0-0,0 #7f0b20e7 app:id/googleapp_search_widget_hint_text}
android.widget.ImageButton{11620ce GFED..C.. ......I. 0,0-0,0 #7f0b20ef app:id/googleapp_search_widget_shortcut_btn}
android.widget.ImageButton{1beebef VFED..C.. ......ID 1948,0-2092,144 #7f0b20f5 app:id/googleapp_search_widget_voice_btn}
android.widget.ImageButton{40776fc VFED..C.. ......ID 2092,0-2236,144 #7f0b20ea app:id/googleapp_search_widget_lens_btn}
com.android.launcher3.views.DoubleShadowBubbleTextView{56a185 VFED..CL. ......ID 483,939-799,1210 #c}
com.android.launcher3.views.DoubleShadowBubbleTextView{bf77bda VFED..CL. ......ID 966,939-1282,1210 #d}
com.android.launcher3.folder.FolderIcon{4b8580b VFE...CL. ........ 1449,939-1765,1210 #1}
com.android.launcher3.views.DoubleShadowBubbleTextView{d306e8 V.ED..... ........ 0,203-316,271 #7f090153 app:id/folder_icon_name}
com.android.launcher3.views.DoubleShadowBubbleTextView{564d101 VFED..CL. ......ID 1932,939-2248,1210 #e}
com.android.launcher3.views.DoubleShadowBubbleTextView{b617ba6 VFED..CL. ......ID 2415,939-2731,1210 #f}
com.android.launcher3.widget.LauncherAppWidgetHostView{49269e7 VFE....L. R.....ID 966,313-2248,584 #10}
android.widget.FrameLayout{e45a994 V.E...... .......D 455,0-827,271 #7f0b03a8 app:id/themed_root}
android.widget.LinearLayout{9cc7c3d VFE...C.. ......ID 35,9-337,262 #1020000 android:id/background}
android.widget.TextView{e19ac32 V.ED..... ........ 31,22-271,63 #7f0b011f app:id/date}
android.widget.TextClock{411bd83 V.ED..... ........ 31,43-271,210 #7f0b00f2 app:id/clock}
android.widget.LinearLayout{99dcb00 I.E...... ......ID 131,190-171,231 #7f0b0051 app:id/alarm_container}
android.widget.ImageView{e099f39 V.ED..... ......ID 0,5-30,35 #7f0b0056 app:id/alarm_icon_no_shadow}
android.widget.ImageView{7b2597e G.ED..... ......I. 0,0-0,0 #7f0b0057 app:id/alarm_icon_with_shadow}
android.widget.TextView{3a8aedf V.ED..... ......ID 40,0-40,41 #7f0b004e app:id/alarm}
com.android.launcher3.Hotseat{394972c V.ED..... ........ 0,1980-3840,2160 #7f09018d app:id/hotseat}
com.android.launcher3.ShortcutAndWidgetContainer{45bf5f5 V.E...... ........ 1652,-22-1472,181}
android.view.View{968f8a V.ED..... ........ 1588,0-2251,0}
com.android.launcher3.pageindicators.PageIndicatorDots{e9359fb I.ED..... ........ 0,1908-3840,1980 #7f090239 app:id/page_indicator}
com.android.launcher3.DropTargetBar{d49fa18 I.E...... ......ID 160,72-3680,288 #7f090124 app:id/drop_target_bar}
com.android.launcher3.DeleteDropTarget{942fc71 V.ED..... ......ID 1259,0-1705,216 #7f090107 app:id/delete_target_text}
com.android.launcher3.SecondaryDropTarget{ad61a56 V.ED..... ......ID 1801,0-2262,216 #7f090347 app:id/uninstall_target_text}
com.android.launcher3.views.ScrimView{db39ad7 V.ED..... ......ID 0,0-3840,2160 #7f09027c app:id/scrim_view}
com.android.quickstep.views.LauncherRecentsView{7f09fc4 I.ED..... ......I. 0,0-3840,2160 #7f090237 app:id/overview_panel}
com.android.quickstep.views.OverviewActionsView{7b9eead V.E...... ........ 0,1707-3840,2160 #7f090236 app:id/overview_actions_view}
android.widget.LinearLayout{7b185e2 I.E...... ......ID 0,72-3840,216 #7f090040 app:id/action_buttons}
android.widget.Space{c2d0d73 I.ED..... ......I. 0,0-1735,3}
android.widget.Button{339f430 VFED..C.. ......ID 1735,0-2105,144 #7f090058 app:id/action_screenshot}
android.widget.Space{533c8a9 G.ED..... ......I. 0,0-0,0 #7f09005c app:id/action_split_space}
android.widget.Button{9e61e2e GFED..C.. ......I. 0,0-0,0 #7f09005b app:id/action_split}
android.widget.Space{9c10dcf I.ED..... ......I. 2105,0-3840,3}
android.widget.Space{682235c G.ED..... ......I. 0,0-0,0 #7f09022e app:id/oav_three_button_space}
com.android.launcher3.allapps.LauncherAllAppsContainerView{1574665 V.ED..... .......D 0,0-3840,2160 #7f090089 app:id/apps_view}
android.widget.FrameLayout{b9ef3a V.E...... .......D 780,72-3060,2160 #7f0900a1 app:id/bottom_sheet_background}
android.view.View{6eab7eb V.ED..... ........ 0,0-2280,108 #7f0900a3 app:id/bottom_sheet_handle_area}
android.view.View{bc1948 V.ED..... ......ID 1092,48-1188,60 #7f0900a2 app:id/bottom_sheet_handle}
com.android.launcher3.allapps.SearchRecyclerView{57ae3e1 GFED..... ......I. 0,0-0,0 #7f090293 app:id/search_results_list_view}
com.android.launcher3.allapps.AllAppsRecyclerView{7c7c506 VFED..... .......D 780,243-3060,2160 #7f090087 app:id/apps_list_view}
com.android.launcher3.BubbleTextView{e9d6655 VFED..CL. ......ID 48,-363-412,57 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{8f0a86a VFED..CL. ......ID 412,-363-776,57 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{dc4315b VFED..CL. ......ID 776,-363-1140,57 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{af4edf8 VFED..CL. ......ID 1140,-363-1504,57 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{9b12d1 VFED..CL. ......ID 1504,-363-1868,57 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{68e136 VFED..CL. ......ID 1868,-363-2232,57 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{70a8837 VFED..CL. ......ID 48,57-412,477 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{686f1a4 VFED..CL. ......ID 412,57-776,477 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{ded0b0d VFED..CL. ......ID 776,57-1140,477 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{59dac2 VFED..CL. ......ID 1140,57-1504,477 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{af570d3 VFED..CL. ......ID 1504,57-1868,477 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{9138410 VFED..CL. ......ID 1868,57-2232,477 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{3ec4b09 VFED..CL. ......ID 48,477-412,897 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{c6ee10e VFED..CL. ......ID 412,477-776,897 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{29c472f VFED..CL. ......ID 776,477-1140,897 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{794d13c VFED..CL. ......ID 1140,477-1504,897 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{2858ec5 VFED..CL. ......ID 1504,477-1868,897 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{5bc001a VFED..CL. ......ID 1868,477-2232,897 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{730274b VFED..CL. ......ID 48,897-412,1317 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{a7bc528 VFED..CL. ......ID 412,897-776,1317 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{1b55241 VFED..CL. ......ID 776,897-1140,1317 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{88a03e6 VFED..CL. ......ID 1140,897-1504,1317 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{9d7ed27 VFED..CL. ......ID 1504,897-1868,1317 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{e5c0bd4 VFED..CL. ......ID 1868,897-2232,1317 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{cb4c92e VFED..CL. ......ID 48,1317-412,1737 #7f090199 app:id/icon}
com.android.launcher3.allapps.FloatingHeaderView{5539ee2 V.E...... ........ 780,243-3060,820 #7f09006c app:id/all_apps_header}
com.android.launcher3.appprediction.PredictionRowView{6bae7c7 I.E...... ......ID 48,108-2232,406 #7f09024e app:id/prediction_row}
com.android.launcher3.BubbleTextView{b1d81f4 VFED..CL. ......ID 0,-61-364,359 #7f090199 app:id/icon aid=1073741825}
com.android.launcher3.BubbleTextView{fe0dd1d VFED..CL. ......ID 364,-61-728,359 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{78b2b92 VFED..CL. ......ID 728,-61-1092,359 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{2743963 VFED..CL. ......ID 1092,-61-1456,359 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{a8ac960 VFED..CL. ......ID 1456,-61-1820,359 #7f090199 app:id/icon}
com.android.launcher3.BubbleTextView{6b32e19 VFED..CL. ......ID 1820,-61-2184,359 #7f090199 app:id/icon}
com.android.launcher3.appprediction.AppsDividerView{2ac6ede I.ED..... ........ 48,406-2232,535 #7f090086 app:id/apps_divider_view}
com.android.launcher3.workprofile.PersonalWorkSlidingTabStrip{ae708bf G.E...... ......I. 0,0-0,0 #7f0902e6 app:id/tabs}
android.widget.Button{bc31b8c VFED..C.. ......I. 0,0-0,0 #7f0902e3 app:id/tab_personal}
android.widget.Button{ebf92d5 VFED..C.. ......I. 0,0-0,0 #7f0902e4 app:id/tab_work}
android.widget.TextView{c0c9aea V.ED..... ......ID 2778,285-3003,471 #7f090142 app:id/fast_scroller_popup}
com.android.launcher3.views.RecyclerViewFastScroller{38d71db V.ED..... ........ 2964,285-3138,2160 #7f090141 app:id/fast_scroller}
com.android.launcher3.allapps.search.AppsSearchContainerLayout{64c6478 VFED..CL. ......ID 1225,144-2615,288 #7f090289 app:id/search_container_all_apps aid=1073741824}