Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f420708 authored by Daniel Sandler's avatar Daniel Sandler Committed by Peter Ng
Browse files

Convert the outer lockscreen ring to a shape drawable.

Saves 270dp^2 of pixel memory: 290K on mdpi, 650K on hdpi,
1.2MB on xhdpi. Multilockwave is still 60fps on crespo.

Bug: 5497875
Change-Id: Idf420e31741cf8d86d86813802b67c9a9f780f80
parent 28d9f024
Loading
Loading
Loading
Loading
−9.23 KiB
Loading image diff...
−5.7 KiB
Loading image diff...
−13.3 KiB
Loading image diff...
+23 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2011 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.
-->

<shape xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="oval"
    >
    <size android:height="270dp" android:width="270dp" />
    <solid android:color="#00000000" />
    <stroke android:color="#1affffff" android:width="2dp" />
</shape>