Fix bad alpha on tinted drawable - 2

This commit is contained in:
Benoit Marty 2021-06-18 17:59:55 +02:00
parent 0720556e48
commit c4a6d92481
3 changed files with 3 additions and 2 deletions

View file

@ -4,6 +4,6 @@
android:viewportWidth="24" android:viewportWidth="24"
android:viewportHeight="24"> android:viewportHeight="24">
<path <path
android:fillColor="?colorControlNormal" android:fillColor="#F00"
android:pathData="M6,19h4L10,5L6,5v14zM14,5v14h4L18,5h-4z"/> android:pathData="M6,19h4L10,5L6,5v14zM14,5v14h4L18,5h-4z"/>
</vector> </vector>

View file

@ -4,6 +4,6 @@
android:viewportWidth="24" android:viewportWidth="24"
android:viewportHeight="24"> android:viewportHeight="24">
<path <path
android:fillColor="?colorControlNormal" android:fillColor="#F00"
android:pathData="M8,5v14l11,-7z"/> android:pathData="M8,5v14l11,-7z"/>
</vector> </vector>

View file

@ -23,6 +23,7 @@
android:layout_width="32dp" android:layout_width="32dp"
android:layout_height="32dp" android:layout_height="32dp"
android:layout_gravity="center" android:layout_gravity="center"
android:alpha="0.75"
android:contentDescription="@string/a11y_video" android:contentDescription="@string/a11y_video"
app:srcCompat="@drawable/ic_play_arrow" app:srcCompat="@drawable/ic_play_arrow"
app:tint="@android:color/white" app:tint="@android:color/white"