summaryrefslogtreecommitdiffstats
path: root/samples/HelloActivity/src/com/example
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2013-05-28 14:42:27 -0700
committerDianne Hackborn <hackbod@google.com>2013-05-28 14:42:27 -0700
commitf1f4c0cbe1ebef69675b619144bf305cbe0fa9fa (patch)
tree96b9dfaafa0029f48edd89d133e33d79da8f56be /samples/HelloActivity/src/com/example
parenta4d9ccb36aae2499f46c3c25b2bd6db2d58fe538 (diff)
downloadandroid_development-f1f4c0cbe1ebef69675b619144bf305cbe0fa9fa.tar.gz
android_development-f1f4c0cbe1ebef69675b619144bf305cbe0fa9fa.tar.bz2
android_development-f1f4c0cbe1ebef69675b619144bf305cbe0fa9fa.zip
This sample shouldn't be hiding the nav bar.
Change-Id: I442c8abccf7c1d2969f5e6271c24b048b42b3110
Diffstat (limited to 'samples/HelloActivity/src/com/example')
-rw-r--r--samples/HelloActivity/src/com/example/android/helloactivity/HelloActivity.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/samples/HelloActivity/src/com/example/android/helloactivity/HelloActivity.java b/samples/HelloActivity/src/com/example/android/helloactivity/HelloActivity.java
index f983d7a99..f4babe7b2 100644
--- a/samples/HelloActivity/src/com/example/android/helloactivity/HelloActivity.java
+++ b/samples/HelloActivity/src/com/example/android/helloactivity/HelloActivity.java
@@ -37,17 +37,6 @@ public class HelloActivity extends Activity {
// in res/layout/hello_activity.xml
View view = getLayoutInflater().inflate(R.layout.hello_activity, null);
setContentView(view);
-
- WindowManager.LayoutParams params = getWindow().getAttributes();
- params.systemUiVisibility = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION;
- getWindow().setAttributes(params);
- view.setOnSystemUiVisibilityChangeListener(new View.OnSystemUiVisibilityChangeListener() {
- @Override public void onSystemUiVisibilityChange(int visibility) {
- WindowManager.LayoutParams params = getWindow().getAttributes();
- params.systemUiVisibility = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION;
- getWindow().setAttributes(params);
- }
- });
}
}