Felix overrides for smartspace positioning
Bug: 283308908 Test: Manually checked a bunch of configurations Change-Id: I1f9c23b93b1a845e7442b96a1f762a278fdde9d1 Merged-In: I1f9c23b93b1a845e7442b96a1f762a278fdde9d1
This commit is contained in:
parent
df6e77ffa4
commit
168dab2357
3 changed files with 67 additions and 0 deletions
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
* Copyright (c) 2023, 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>
|
||||
<!-- Weather clock smartspace scaling to apply for the weather clock on tablets -->
|
||||
<item name="weather_clock_smartspace_scale" type="dimen" format="float">0.85</item>
|
||||
<dimen name="weather_clock_smartspace_translateX">-40dp</dimen>
|
||||
<dimen name="weather_clock_smartspace_translateY">-26dp</dimen>
|
||||
</resources>
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
* Copyright (c) 2023, 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>
|
||||
<!-- Weather clock smartspace scaling to apply for the weather clock on tablets -->
|
||||
<dimen name="weather_clock_smartspace_translateX">-8dp</dimen>
|
||||
<dimen name="weather_clock_smartspace_translateY">-16dp</dimen>
|
||||
</resources>
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
* Copyright (c) 2023, 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>
|
||||
<!-- Weather clock smartspace positioning to apply for the weather clock on tablets -->
|
||||
<dimen name="weather_clock_smartspace_translateX">-15dp</dimen>
|
||||
<dimen name="weather_clock_smartspace_translateY">-26dp</dimen>
|
||||
</resources>
|
Loading…
Add table
Add a link
Reference in a new issue