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

Commit c8ffb0d3 authored by ztenghui's avatar ztenghui
Browse files

Make sure the indeterminate progress bar rotate correctly.

Now the rotation is following a star pattern.

bug:16010534

Change-Id: I6c1b863d6a4e7b8bcb8621ffd4ad828628739d71
parent c70a8cf9
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
 Copyright (C) 2014 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.
-->

<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
    android:duration="6665"
    android:interpolator="@android:anim/linear_interpolator"
    android:propertyName="rotation"
    android:repeatCount="-1"
    android:valueFrom="0"
    android:valueTo="720"
    android:valueType="floatType" />
 No newline at end of file
+4 −0
Original line number Diff line number Diff line
@@ -21,4 +21,8 @@
        android:name="progressBar"
        android:animation="@anim/progress_indeterminate_material" />

    <target
        android:name="root"
        android:animation="@anim/progress_indeterminate_rotation_material" />

</animated-vector>
+4 −0
Original line number Diff line number Diff line
@@ -20,4 +20,8 @@
        android:name="progressBar"
        android:animation="@anim/progress_indeterminate_material" />

    <target
        android:name="root"
        android:animation="@anim/progress_indeterminate_rotation_material" />

</animated-vector>
 No newline at end of file
+4 −0
Original line number Diff line number Diff line
@@ -21,4 +21,8 @@
        android:name="progressBar"
        android:animation="@anim/progress_indeterminate_material" />

    <target
        android:name="root"
        android:animation="@anim/progress_indeterminate_rotation_material" />

</animated-vector>
+0 −2
Original line number Diff line number Diff line
@@ -25,8 +25,6 @@

    <group
        android:name="root"
        android:scaleX="1.0"
        android:scaleY="1.0"
        android:translateX="24.0"
        android:translateY="24.0" >
        <path
Loading