Also fixes a bug where notifications would be wrongly padded on Keyguard after rotating the screen. Bug: 15244051 Change-Id: I2418692c3d2ffdd5fe642361f2924629bf9a75eb
66 lines
3.0 KiB
XML
66 lines
3.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
* Copyright (c) 2012, 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.
|
|
*/
|
|
-->
|
|
<resources>
|
|
<!-- The width of the notification panel window: 400 + 16 + 16 (padding in the bg drawable) -->
|
|
<dimen name="notification_panel_width">432dp</dimen>
|
|
|
|
<!-- Gravity for the notification panel -->
|
|
<!-- 0x31 = top|center_horizontal -->
|
|
<integer name="notification_panel_layout_gravity">0x31</integer>
|
|
|
|
<!-- Diameter of outer shape drawable shown in navbar search-->
|
|
<dimen name="navbar_search_outerring_diameter">430dip</dimen>
|
|
|
|
<!-- Diameter of outer shape drawable shown in navbar search. Should be 1/2 of above value. -->
|
|
<dimen name="navbar_search_outerring_radius">215dip</dimen>
|
|
|
|
<!-- Height of search panel including navigation bar height -->
|
|
<dimen name="navbar_search_panel_height">280dip</dimen>
|
|
|
|
<!-- The width of the view containing the menu/ime navigation bar icons -->
|
|
<dimen name="navigation_extra_key_width">48dip</dimen>
|
|
|
|
<!-- Size of application thumbnail -->
|
|
<dimen name="status_bar_recents_thumbnail_width">200dp</dimen>
|
|
<dimen name="status_bar_recents_thumbnail_height">177dp</dimen>
|
|
|
|
<!-- Minimum fraction of the screen that should be taken up by the notification panel. -->
|
|
<item type="dimen" name="notification_panel_min_height_frac">40%</item>
|
|
|
|
<!-- How far to slide the panel out when you touch it -->
|
|
<!-- On tablets this is just the close_handle_height -->
|
|
<dimen name="peek_height">@dimen/close_handle_height</dimen>
|
|
|
|
<!-- The side padding for the task stack as a percentage of the width. -->
|
|
<item name="recents_stack_width_padding_percentage" format="float" type="dimen">0.075</item>
|
|
|
|
<!-- Width of the zen mode interstitial dialog. -->
|
|
<dimen name="zen_mode_dialog_width">384dp</dimen>
|
|
|
|
<!-- The fraction of the screen height where the clock on the Keyguard has its center. The
|
|
max value is used when no notifications are displaying, and the min value is when the
|
|
highest possible number of notifications are showing. -->
|
|
<fraction name="keyguard_clock_y_fraction_max">34%</fraction>
|
|
<fraction name="keyguard_clock_y_fraction_min">24%</fraction>
|
|
|
|
<!-- The margin between the clock and the notifications on Keyguard. See
|
|
keyguard_clock_height_fraction_* for the difference between min and max.-->
|
|
<dimen name="keyguard_clock_notifications_margin_min">44dp</dimen>
|
|
<dimen name="keyguard_clock_notifications_margin_max">44dp</dimen>
|
|
</resources>
|