1 package com.android.launcher3; 2 3 import android.content.Context; 4 import android.graphics.Rect; 5 import android.util.AttributeSet; 6 7 public class LauncherRootView extends InsettableFrameLayout { LauncherRootView(Context context, AttributeSet attrs)8 public LauncherRootView(Context context, AttributeSet attrs) { 9 super(context, attrs); 10 } 11 12 @Override fitSystemWindows(Rect insets)13 protected boolean fitSystemWindows(Rect insets) { 14 setInsets(insets); 15 return true; // I'll take it from here 16 } 17 }