From 82aa6375f6b10ca7be4af73dbbc5e4e0b07fb7bc Mon Sep 17 00:00:00 2001 From: Bruno Martins <bgcngm@gmail.com> Date: Wed, 28 Nov 2018 21:46:20 +0000 Subject: [PATCH] beckham: overlay: Beautify rounded corners * Adapted for Beckham. Change-Id: Ifb3ff156eca7a02daec82138aee449b121c071eb Signed-off-by: Joshua Blanchard <joshua.lee.bbg@gmail.com> --- .../base/core/res/res/values/dimens.xml | 26 +++++++++++++++++++ .../packages/SystemUI/res/values/dimens.xml | 3 --- 2 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 overlay/frameworks/base/core/res/res/values/dimens.xml delete mode 100644 overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml diff --git a/overlay/frameworks/base/core/res/res/values/dimens.xml b/overlay/frameworks/base/core/res/res/values/dimens.xml new file mode 100644 index 0000000..614ad97 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values/dimens.xml @@ -0,0 +1,26 @@ +<?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> + <!-- Radius of the software rounded corners at the top of the display in its natural + orientation. If zero, the value of rounded_corner_radius is used. --> + <dimen name="rounded_corner_radius_top">15dp</dimen> + + <!-- Radius of the software rounded corners at the bottom of the display in its natural + orientation. If zero, the value of rounded_corner_radius is used. --> + <dimen name="rounded_corner_radius_bottom">15dp</dimen> +</resources> diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml b/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml deleted file mode 100644 index c5fe1ee..0000000 --- a/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml +++ /dev/null @@ -1,3 +0,0 @@ -<resources> - <dimen name="rounded_corner_radius">15dp</dimen> -</resources> -- GitLab