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
36 lines
1.4 KiB
XML
36 lines
1.4 KiB
XML
<?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
|
|
-->
|
|
<resources>
|
|
|
|
<!-- The width of the view containing navigation buttons -->
|
|
<dimen name="navigation_key_width">80dip</dimen>
|
|
|
|
<!-- The padding on the side of the navigation bar. Must be greater than or equal to
|
|
navigation_extra_key_width -->
|
|
<dimen name="navigation_side_padding">50dp</dimen>
|
|
|
|
<!-- Screen pinning request padding on side of icons
|
|
(makes the width match the nav bar)-->
|
|
<dimen name="screen_pinning_request_nav_side_padding">7dp</dimen>
|
|
<!-- Screen pinning request side views to match nav bar
|
|
navigation_side_padding - 3 / 2 * (screen_pinning_request_button_width
|
|
- navigation_key_width) -->
|
|
<dimen name="screen_pinning_request_side_width">44dp</dimen>
|
|
|
|
</resources>
|
|
|