diff options
| author | Michael Bestas <mkbestas@lineageos.org> | 2023-02-20 23:31:55 +0200 |
|---|---|---|
| committer | Siluxsept <ronny.horn.rh@gmail.com> | 2023-02-22 18:18:29 +0100 |
| commit | 58f40fe39838a3d0b7edb935f063b2484129f73e (patch) | |
| tree | 5f963e943f9491256a12a041a73f7663e6277fcb | |
| parent | 74dd2a726e8d21113dbee56402cdb5c5acdd1238 (diff) | |
overlay: Fix rounded corner rendering issues
Since config_roundedCornerMultipleRadius was phased out from T,
frameworks read the rounded corner dimensions from rounded.xml.
This resulted in bonito & sargo not rendering the rounded corners
properly.
Change-Id: I5cbdcd959fd7943c74ded9d209e06755b1120670
| -rw-r--r-- | bonito/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded.xml | 24 | ||||
| -rw-r--r-- | sargo/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded.xml | 24 |
2 files changed, 48 insertions, 0 deletions
diff --git a/bonito/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded.xml b/bonito/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded.xml new file mode 100644 index 00000000..72c012d5 --- /dev/null +++ b/bonito/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded.xml @@ -0,0 +1,24 @@ +<!-- + Copyright (C) 2016 The Android Open Source Project + + 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. +--> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="42px" + android:height="42px" + android:viewportWidth="8" + android:viewportHeight="8"> + + <path + android:fillColor="#000000" + android:pathData="M8,0H0v8C0,3.6,3.6,0,8,0z" /> + +</vector> diff --git a/sargo/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded.xml b/sargo/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded.xml new file mode 100644 index 00000000..72c012d5 --- /dev/null +++ b/sargo/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded.xml @@ -0,0 +1,24 @@ +<!-- + Copyright (C) 2016 The Android Open Source Project + + 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. +--> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="42px" + android:height="42px" + android:viewportWidth="8" + android:viewportHeight="8"> + + <path + android:fillColor="#000000" + android:pathData="M8,0H0v8C0,3.6,3.6,0,8,0z" /> + +</vector> |
