63 lines
2.7 KiB
Diff
63 lines
2.7 KiB
Diff
From 2ef56aadc11858d1cddad3a4b0083a3708d6528c Mon Sep 17 00:00:00 2001
|
|
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
|
Date: Sat, 16 Oct 2021 02:23:48 +0000
|
|
Subject: [PATCH 05/31] UI: Adjust default navbar layouts
|
|
|
|
- Slightly tighten nodpi layout
|
|
- Remove sw372dp layout - looks terrible, probably meant for legacy phablets, but most modern phones qualify
|
|
|
|
Change-Id: Ia32f5d92e6c9e36560c53e7dffce7d2c29a81fe5
|
|
---
|
|
.../SystemUI/res/values-sw372dp/config.xml | 25 -------------------
|
|
packages/SystemUI/res/values/config.xml | 2 +-
|
|
2 files changed, 1 insertion(+), 26 deletions(-)
|
|
delete mode 100644 packages/SystemUI/res/values-sw372dp/config.xml
|
|
|
|
diff --git a/packages/SystemUI/res/values-sw372dp/config.xml b/packages/SystemUI/res/values-sw372dp/config.xml
|
|
deleted file mode 100644
|
|
index 07b797a32428..000000000000
|
|
--- a/packages/SystemUI/res/values-sw372dp/config.xml
|
|
+++ /dev/null
|
|
@@ -1,25 +0,0 @@
|
|
-<?xml version="1.0" encoding="utf-8"?>
|
|
-<!--
|
|
-/*
|
|
-** Copyright 2017, 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.
|
|
-*/
|
|
--->
|
|
-
|
|
-<!-- These resources are around just to allow their values to be customized
|
|
- for different hardware and product builds. -->
|
|
-<resources>
|
|
- <!-- Nav bar button default ordering/layout -->
|
|
- <string name="config_navBarLayout" translatable="false">left[.25W],back[.5WC];home;recent[.5WC],right[.25W]</string>
|
|
-</resources>
|
|
diff --git a/packages/SystemUI/res/values/config.xml b/packages/SystemUI/res/values/config.xml
|
|
index f530d0d6e06f..9cd22313e0a1 100644
|
|
--- a/packages/SystemUI/res/values/config.xml
|
|
+++ b/packages/SystemUI/res/values/config.xml
|
|
@@ -315,7 +315,7 @@
|
|
</string-array>
|
|
|
|
<!-- Nav bar button default ordering/layout -->
|
|
- <string name="config_navBarLayout" translatable="false">left[.5W],back[1WC];home;recent[1WC],right[.5W]</string>
|
|
+ <string name="config_navBarLayout" translatable="false">left[.6W],back[1WC];home;recent[1WC],right[.6W]</string>
|
|
<string name="config_navBarLayoutQuickstep" translatable="false">back[1.7WC];home;menu_ime[1.7WC]</string>
|
|
<string name="config_navBarLayoutHandle" translatable="false">back[70AC];home_handle;ime_switcher[70AC]</string>
|
|
|
|
--
|
|
2.34.1
|
|
|