summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Kozynski <kozynski@google.com>2019-05-28 16:15:20 -0400
committerFabian Kozynski <kozynski@google.com>2019-05-28 16:15:20 -0400
commit7fddf7eab8c823e2728216965af89ccfe62cf7a4 (patch)
tree2a333f299aff6441a17db4a1e1dddb882af774b0
parent5083c1277e17281208ba13969fb794fe863f3951 (diff)
downloadmarlin-7fddf7eab8c823e2728216965af89ccfe62cf7a4.tar.gz
Increase status_bar_padding for no rounded corners
In devices with no rounded corners status_bar_padding is too small and text is too close to the edge of the device. Increase it for these devices. Test: visual Fixes: 132823624 Change-Id: I34bd3b659522f8d801f92edd29961eb6fa2234d3
-rw-r--r--overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml b/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml
new file mode 100644
index 00000000..f41b5aec
--- /dev/null
+++ b/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ * Copyright (c) 2019, 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="status_bar_padding_start">12dp</dimen>
+ <dimen name="status_bar_padding_end">12dp</dimen>
+</resources> \ No newline at end of file