clover: overlay: Set a rounded corner radius
* Fixes the path of the assistant animation
This commit is contained in:
parent
9aebc863de
commit
01ebc438b3
2 changed files with 50 additions and 0 deletions
30
overlay/frameworks/base/core/res/res/values/dimens.xml
Normal file
30
overlay/frameworks/base/core/res/res/values/dimens.xml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- #
|
||||||
|
#
|
||||||
|
# Copyright (C) 2019 The Xiaomi-SDM660 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.
|
||||||
|
|
||||||
|
#
|
||||||
|
# This file sets variables that control the way modules are built
|
||||||
|
# thorughout the system. It should not be used to conditionally
|
||||||
|
# disable makefiles (the proper mechanism to control what gets
|
||||||
|
# included in a build is to use PRODUCT_PACKAGES in a product
|
||||||
|
# definition file).
|
||||||
|
#
|
||||||
|
-->
|
||||||
|
|
||||||
|
<resources>
|
||||||
|
<!-- Default radius of the software rounded corners. -->
|
||||||
|
<dimen name="rounded_corner_radius">33px</dimen>
|
||||||
|
</resources>
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
* Copyright (c) 2006, 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>
|
||||||
|
<dimen name="rounded_corner_content_padding">8dp</dimen>
|
||||||
|
</resources>
|
Loading…
Reference in a new issue