18f99d9134
Switching from a dialog to a cling-like view to be more material. Also moving it into SysUI as it highlights the buttons in nav bar. This will be triggered directly from recents, but from apps it will be triggered by the PhoneStatusBar. In the case that apps trigger the request, there will be a 'no thanks' button so that users can refuse. Bug: 16957435 Change-Id: Ie880f82c66f4b2be98283ed3fa789703c4bd7ed5
44 lines
2.0 KiB
XML
44 lines
2.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>
|
|
<!-- Recent Applications parameters -->
|
|
<dimen name="status_bar_recents_app_label_width">190dip</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.25</item>
|
|
|
|
<fraction name="keyguard_clock_y_fraction_max">37%</fraction>
|
|
<fraction name="keyguard_clock_y_fraction_min">20%</fraction>
|
|
|
|
<dimen name="keyguard_clock_notifications_margin_min">36dp</dimen>
|
|
<dimen name="keyguard_clock_notifications_margin_max">36dp</dimen>
|
|
|
|
<dimen name="keyguard_indication_margin_bottom">80dp</dimen>
|
|
|
|
<!-- Screen pinning request width (just a little bit bigger than the three buttons here -->
|
|
<dimen name="screen_pinning_request_width">490dp</dimen>
|
|
<!-- Screen pinning request bottom button circle widths -->
|
|
<dimen name="screen_pinning_request_button_width">162dp</dimen>
|
|
<!-- Screen pinning request, controls padding on bigger screens, bigger nav bar -->
|
|
<dimen name="screen_pinning_request_frame_padding">39dp</dimen>
|
|
<!-- Screen pinning request side views to match nav bar
|
|
In sw600dp we want the buttons centered so this fills the space,
|
|
(screen_pinning_request_width - 3 * screen_pinning_request_button_width) / 2 -->
|
|
<dimen name="screen_pinning_request_side_width">2dp</dimen>
|
|
</resources>
|