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

Commit 0df752aa authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update Media Seekbar Thumb Shape" into tm-qpr-dev

parents 0b401b1d fe8cdfc0
Loading
Loading
Loading
Loading
+50 −0
Original line number Diff line number Diff line
<!--
  ~ Copyright (C) 2022 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.
  -->

<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
                 xmlns:aapt="http://schemas.android.com/aapt">
    <aapt:attr name="android:drawable">
        <vector android:height="16dp"
                android:width="4dp"
                android:viewportHeight="16"
                android:viewportWidth="4">
            <group android:name="_R_G">
                <group android:name="_R_G_L_0_G"
                       android:translateX="2"
                       android:translateY="8">
                    <path android:name="_R_G_L_0_G_D_0_P_0"
                          android:fillColor="#ffffff"
                          android:fillAlpha="1"
                          android:fillType="nonZero"
                          android:pathData=" M2 -6 C2,-6 2,6 2,6 C2,7.1 1.1,8 0,8 C0,8 0,8 0,8 C-1.1,8 -2,7.1 -2,6 C-2,6 -2,-6 -2,-6 C-2,-7.1 -1.1,-8 0,-8 C0,-8 0,-8 0,-8 C1.1,-8 2,-7.1 2,-6c "/>
                </group>
            </group>
            <group android:name="time_group"/>
        </vector>
    </aapt:attr>
    <target android:name="time_group">
        <aapt:attr name="android:animation">
            <set android:ordering="together">
                <objectAnimator android:propertyName="translateX"
                                android:duration="1017"
                                android:startOffset="0"
                                android:valueFrom="0"
                                android:valueTo="1"
                                android:valueType="floatType"/>
            </set>
        </aapt:attr>
    </target>
</animated-vector>
+1 −0
Original line number Diff line number Diff line
@@ -573,6 +573,7 @@
    </style>

    <style name="MediaPlayer.ProgressBar" parent="@android:style/Widget.ProgressBar.Horizontal">
        <item name="android:thumb">@drawable/media_seekbar_thumb</item>
        <item name="android:thumbTint">?android:attr/textColorPrimary</item>
        <item name="android:progressDrawable">@drawable/media_squiggly_progress</item>
        <item name="android:progressTint">?android:attr/textColorPrimary</item>