Code example for PaintDrawable

        return d;
    public boolean isLoading() { 
        return mActiveTab != null ? mActiveTab.inPageLoad() : false;
     * Suggest to the UI that the title bar can be hidden. The UI will then 
     * decide whether or not to hide based off a number of factors, such 
     * as if the user is editing the URL bar or if the page is loading 
    public void suggestHideTitleBar() { 
        if (!isLoading() && !isEditingUrl() && !mTitleBar.wantsToBeVisible()
                && !mNavigationBar.isMenuShowing()) {
    protected final void showTitleBarForDuration() { 
Connect your IDE to all the code out there  Get Codota for Java