diff options
| author | AnierinB <anierin@evolution-x.org> | 2022-10-14 20:47:12 +0300 |
|---|---|---|
| committer | Semavi Ulusoy <doc.divxm@gmail.com> | 2022-10-14 20:47:31 +0300 |
| commit | 25dcc286e8523ec1a6a20db31f1f4854a27bd6a0 (patch) | |
| tree | a57bd0d962f9f3936c45f2f1d4631577f36e935c | |
| parent | 0568a2a0709051f15454911e3fbb6de55120514b (diff) | |
op8T: set Alert Slider UI for OnePlus 8T
Signed-off-by: Semavi Ulusoy <doc.divxm@gmail.com>
| -rw-r--r-- | device.mk | 4 | ||||
| -rw-r--r-- | overlay-aicp/frameworks/base/packages/SystemUI/res/values/dimens.xml | 30 |
2 files changed, 34 insertions, 0 deletions
@@ -33,6 +33,10 @@ PRODUCT_PACKAGES += \ OPlusSettingsProviderResTarget \ OPlusSystemUIResTarget +# Overlays +DEVICE_PACKAGE_OVERLAYS += \ + $(LOCAL_PATH)/overlay-aicp + # Shipping API PRODUCT_SHIPPING_API_LEVEL := 30 diff --git a/overlay-aicp/frameworks/base/packages/SystemUI/res/values/dimens.xml b/overlay-aicp/frameworks/base/packages/SystemUI/res/values/dimens.xml new file mode 100644 index 0000000..5ce3ffb --- /dev/null +++ b/overlay-aicp/frameworks/base/packages/SystemUI/res/values/dimens.xml @@ -0,0 +1,30 @@ +<?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> + + <!-- Alert Slider UI for OnePlus 8T --> + <dimen name="tri_state_up_dialog_position">254px</dimen> + <dimen name="tri_state_up_dialog_position_l">433px</dimen> + <dimen name="tri_state_up_dialog_position_deep">24px</dimen> + <dimen name="tri_state_up_dialog_position_deep_land">24px</dimen> + <dimen name="tri_state_middle_dialog_position">385px</dimen> + <dimen name="tri_state_middle_dialog_position_l">433px</dimen> + <dimen name="tri_state_down_dialog_position">516px</dimen> + <dimen name="tri_state_down_dialog_position_l">433px</dimen> + +</resources> |
