Change NavBar to transparent black

b/30615471

Change-Id: I7885e8a7fd63ee10c9b0107087046730e8acfde9
This commit is contained in:
Hyunyoung Song
2016-08-05 10:59:17 -07:00
parent 598e184352
commit 4ebc3d070f
7 changed files with 21 additions and 10 deletions
@@ -28,6 +28,7 @@ import com.android.launcher3.BaseRecyclerView;
import com.android.launcher3.BubbleTextView;
import com.android.launcher3.DeviceProfile;
import com.android.launcher3.ItemInfo;
import com.android.launcher3.Launcher;
import com.android.launcher3.R;
import com.android.launcher3.logging.UserEventDispatcher.LaunchSourceProvider;
import com.android.launcher3.userevent.nano.LauncherLogProto;
@@ -423,6 +424,12 @@ public class AllAppsRecyclerView extends BaseRecyclerView
return getPaddingTop() + y - offset;
}
@Override
protected int getVisibleHeight() {
return super.getVisibleHeight()
- Launcher.getLauncher(getContext()).getDragLayer().getInsets().bottom;
}
/**
* Returns the available scroll height:
* AvailableScrollHeight = Total height of the all items - last page height