mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 21:08:34 +00:00
Fix audio color on light theme.
This commit is contained in:
parent
88b54a262b
commit
6558eae032
@ -4,9 +4,9 @@
|
|||||||
android:viewportWidth="20"
|
android:viewportWidth="20"
|
||||||
android:viewportHeight="20">
|
android:viewportHeight="20">
|
||||||
<path
|
<path
|
||||||
android:fillColor="#2090EA"
|
android:fillColor="@color/core_blue"
|
||||||
android:pathData="M10,10m-9,0a9,9 0,1 1,18 0a9,9 0,1 1,-18 0" />
|
android:pathData="M10,10m-9,0a9,9 0,1 1,18 0a9,9 0,1 1,-18 0" />
|
||||||
<path
|
<path
|
||||||
android:fillColor="#ffffff"
|
android:fillColor="@color/core_white"
|
||||||
android:pathData="M9.0001,11.9393L14.4697,6.4697L15.5304,7.5303L9.0001,14.0607L5.4697,10.5303L6.5304,9.4697L9.0001,11.9393Z" />
|
android:pathData="M9.0001,11.9393L14.4697,6.4697L15.5304,7.5303L9.0001,14.0607L5.4697,10.5303L6.5304,9.4697L9.0001,11.9393Z" />
|
||||||
</vector>
|
</vector>
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
app:autoRewind="true"
|
app:autoRewind="true"
|
||||||
|
app:foregroundTintColor="@color/core_blue"
|
||||||
app:small="true" />
|
app:small="true" />
|
||||||
|
|
||||||
<include layout="@layout/media_overview_selected_overlay" />
|
<include layout="@layout/media_overview_selected_overlay" />
|
||||||
|
@ -222,9 +222,9 @@ public final class AudioView extends FrameLayout implements AudioSlidePlayer.Lis
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setTint(int foregroundTint, int backgroundTint) {
|
public void setTint(int foregroundTint, int backgroundTint) {
|
||||||
this.playPauseButton.addValueCallback(new KeyPath("**"),
|
post(()-> this.playPauseButton.addValueCallback(new KeyPath("**"),
|
||||||
LottieProperty.COLOR_FILTER,
|
LottieProperty.COLOR_FILTER,
|
||||||
new LottieValueCallback<>(new SimpleColorFilter(foregroundTint)));
|
new LottieValueCallback<>(new SimpleColorFilter(foregroundTint))));
|
||||||
|
|
||||||
this.downloadButton.setColorFilter(foregroundTint, PorterDuff.Mode.SRC_IN);
|
this.downloadButton.setColorFilter(foregroundTint, PorterDuff.Mode.SRC_IN);
|
||||||
this.circleProgress.setBarColor(foregroundTint);
|
this.circleProgress.setBarColor(foregroundTint);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user