summaryrefslogtreecommitdiffstats
path: root/core/java/com
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2012-04-05 18:31:41 -0700
committerDianne Hackborn <hackbod@google.com>2012-04-05 18:31:41 -0700
commit9801435820dc159725c0185f18f7e60e0fb1b833 (patch)
tree62919488882ed2e7c0325746376b83524b6cec32 /core/java/com
parent9828830611137bb751ab3512082a3bd31f439e38 (diff)
downloadframeworks_base-9801435820dc159725c0185f18f7e60e0fb1b833.zip
frameworks_base-9801435820dc159725c0185f18f7e60e0fb1b833.tar.gz
frameworks_base-9801435820dc159725c0185f18f7e60e0fb1b833.tar.bz2
Fix so that status bar doesn't resize when hiding nav bar.
The status bar now extends behind the nav bar, and uses fitsSystemWindows to ensure its content is not covered. We always report a stable content insets (as if the nav bar is visible) even if the nav bar is hidden, so the content doesn't jump when transitioing. This does mean that if you only hide the nav bar (and not the status bar), when in landscape you will end up with a status bar whose right side still leaves room for the nav bar. But why the hell would you want to do that? Also improve documentation on setSystemUiVisibility(). Change-Id: I8087d875f1214ef0085a91b5ed5c2f35ff2fc1b3
Diffstat (limited to 'core/java/com')
-rw-r--r--core/java/com/android/internal/widget/ActionBarOverlayLayout.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/java/com/android/internal/widget/ActionBarOverlayLayout.java b/core/java/com/android/internal/widget/ActionBarOverlayLayout.java
index 8521481..d1652df 100644
--- a/core/java/com/android/internal/widget/ActionBarOverlayLayout.java
+++ b/core/java/com/android/internal/widget/ActionBarOverlayLayout.java
@@ -18,14 +18,11 @@ package com.android.internal.widget;
import com.android.internal.app.ActionBarImpl;
-import android.animation.LayoutTransition;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Rect;
import android.util.AttributeSet;
-import android.util.Log;
import android.view.View;
-import android.view.ViewTreeObserver;
import android.widget.FrameLayout;
/**