summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Lin <danny@kdrag0n.dev>2021-10-09 14:50:31 -0700
committeralk3pInjection <webmaster@raspii.tech>2022-03-03 13:57:18 +0800
commit1f73ca339c9267a19b5cfec5a89cc4b81ac82d51 (patch)
treefa7a92cd6a1aa1671cec744f5b79397c9d2ac83e
parentecd8d8779c4943b630ff96d326852a1c51ec3f6b (diff)
overlay: SystemUI: Remove power menu shadow
This fits better with Material You, especially when the default shadow gets clipped at the edges. Change-Id: If1f421692bcc737882f76fc7929b9f9dd0dd71f0
-rw-r--r--overlay/ICESystemUIOverlay/res/values/dimens.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/overlay/ICESystemUIOverlay/res/values/dimens.xml b/overlay/ICESystemUIOverlay/res/values/dimens.xml
new file mode 100644
index 0000000..e0768c1
--- /dev/null
+++ b/overlay/ICESystemUIOverlay/res/values/dimens.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2022 Project ICE
+
+ 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>
+ <!-- Remove power menu shadow -->
+ <dimen name="global_actions_translate">0dp</dimen>
+</resources>