diff options
author | Jorim Jaggi <jjaggi@google.com> | 2014-09-03 16:29:39 +0200 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2014-09-03 16:37:06 +0200 |
commit | a0221f3a9fb8014b24954a5a59e1e001e4a2619f (patch) | |
tree | f96e674df60ef0f93e212f2a391dfe1e2ac0c4ef /packages/SystemUI/res/values-xhdpi | |
parent | 6e31e0f3d1ca8579e75ee1cfe4ac7c30c525f946 (diff) | |
download | frameworks_base-a0221f3a9fb8014b24954a5a59e1e001e4a2619f.zip frameworks_base-a0221f3a9fb8014b24954a5a59e1e001e4a2619f.tar.gz frameworks_base-a0221f3a9fb8014b24954a5a59e1e001e4a2619f.tar.bz2 |
Improve subpixel rendering of battery icon on all densities
Bug: 16161255
Change-Id: I97abc6a7a5cafb581e3f7c3d7509fdbf6d8542d5
Diffstat (limited to 'packages/SystemUI/res/values-xhdpi')
-rw-r--r-- | packages/SystemUI/res/values-xhdpi/dimens.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/SystemUI/res/values-xhdpi/dimens.xml b/packages/SystemUI/res/values-xhdpi/dimens.xml new file mode 100644 index 0000000..144b225 --- /dev/null +++ b/packages/SystemUI/res/values-xhdpi/dimens.xml @@ -0,0 +1,27 @@ +<?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> + + <!-- Fraction value to smooth the edges of the battery icon. The path will be inset by this + fraction of a pixel.--> + <fraction name="battery_subpixel_smoothing_left">25%</fraction> + <fraction name="battery_subpixel_smoothing_right">12.5%</fraction> + + <dimen name="battery_margin_bottom">0dp</dimen> +</resources> |