diff options
author | Jorim Jaggi <jjaggi@google.com> | 2014-04-22 18:45:47 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-04-22 18:45:47 +0000 |
commit | 73a47d856fa656ddcc3dea4692fe00819bcd9c5b (patch) | |
tree | f7e6430eb0a80c1e10e10f33d0a90e4168bbf94e /packages/SystemUI/res | |
parent | d304f2b0bb526d88041dd463d2194478362712c0 (diff) | |
parent | c0e4567560f472c74fede6ed8704bb1acdf26484 (diff) | |
download | frameworks_base-73a47d856fa656ddcc3dea4692fe00819bcd9c5b.zip frameworks_base-73a47d856fa656ddcc3dea4692fe00819bcd9c5b.tar.gz frameworks_base-73a47d856fa656ddcc3dea4692fe00819bcd9c5b.tar.bz2 |
am c0e45675: Merge "Hide navigation bar on Keyguard."
* commit 'c0e4567560f472c74fede6ed8704bb1acdf26484':
Hide navigation bar on Keyguard.
Diffstat (limited to 'packages/SystemUI/res')
4 files changed, 40 insertions, 14 deletions
diff --git a/packages/SystemUI/res/layout/keyguard_bottom_area.xml b/packages/SystemUI/res/layout/keyguard_bottom_area.xml new file mode 100644 index 0000000..88b01c7 --- /dev/null +++ b/packages/SystemUI/res/layout/keyguard_bottom_area.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2014 The Android Open Source Project + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License + --> + +<com.android.systemui.statusbar.phone.KeyguardBottomAreaView + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" + android:id="@+id/keyguard_bottom_area" + android:layout_height="match_parent" + android:layout_width="match_parent" + > + <com.android.systemui.statusbar.policy.KeyButtonView + android:id="@+id/camera_button" + android:layout_height="80dp" + android:layout_width="80dp" + android:layout_gravity="bottom|right" + android:src="@drawable/ic_sysbar_camera" + android:scaleType="center" + android:contentDescription="@string/accessibility_camera_button" + systemui:glowBackground="@drawable/ic_sysbar_highlight_land" /> +</com.android.systemui.statusbar.phone.KeyguardBottomAreaView>
\ No newline at end of file diff --git a/packages/SystemUI/res/layout/navigation_bar.xml b/packages/SystemUI/res/layout/navigation_bar.xml index a6fb443..2398849 100644 --- a/packages/SystemUI/res/layout/navigation_bar.xml +++ b/packages/SystemUI/res/layout/navigation_bar.xml @@ -159,18 +159,6 @@ android:visibility="gone" android:contentDescription="@string/accessibility_search_light" /> - - <com.android.systemui.statusbar.policy.KeyButtonView - android:id="@+id/camera_button" - android:layout_height="match_parent" - android:layout_width="80dp" - android:layout_gravity="center_vertical|right" - android:src="@drawable/ic_sysbar_camera" - android:scaleType="center" - android:visibility="gone" - android:contentDescription="@string/accessibility_camera_button" - systemui:glowBackground="@drawable/ic_sysbar_highlight_land" - /> </FrameLayout> <com.android.systemui.statusbar.policy.DeadZone diff --git a/packages/SystemUI/res/layout/status_bar_expanded.xml b/packages/SystemUI/res/layout/status_bar_expanded.xml index 9e21cd3..69fbc1b 100644 --- a/packages/SystemUI/res/layout/status_bar_expanded.xml +++ b/packages/SystemUI/res/layout/status_bar_expanded.xml @@ -90,4 +90,8 @@ /> </FrameLayout> </LinearLayout> + + <include + layout="@layout/keyguard_bottom_area" + android:visibility="gone" /> </com.android.systemui.statusbar.phone.NotificationPanelView><!-- end of sliding panel --> diff --git a/packages/SystemUI/res/layout/super_status_bar.xml b/packages/SystemUI/res/layout/super_status_bar.xml index 92c22cc..61d43d7 100644 --- a/packages/SystemUI/res/layout/super_status_bar.xml +++ b/packages/SystemUI/res/layout/super_status_bar.xml @@ -23,6 +23,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:focusable="true" + android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"> <include layout="@layout/status_bar" @@ -33,8 +34,7 @@ android:id="@+id/panel_holder" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_marginTop="@dimen/panel_holder_padding_top" - android:layout_marginBottom="@dimen/navigation_bar_height"> + android:layout_marginTop="@dimen/panel_holder_padding_top"> <include layout="@layout/status_bar_expanded" android:layout_width="@dimen/notification_panel_width" android:layout_height="wrap_content" |