kopia lustrzana https://github.com/ryukoposting/Signal-Android
Add background drawable for play/pause buttons.
rodzic
bf18db354c
commit
800405fc3e
|
@ -4,10 +4,10 @@
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:animateLayoutChanges="true"
|
||||||
android:background="@color/transparent"
|
android:background="@color/transparent"
|
||||||
android:layoutDirection="ltr"
|
android:layoutDirection="ltr"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:animateLayoutChanges="true"
|
|
||||||
tools:targetApi="28">
|
tools:targetApi="28">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
@ -123,11 +123,15 @@
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@id/exo_play"
|
android:id="@id/exo_play"
|
||||||
style="@style/MediaPreviewButton"
|
style="@style/MediaPreviewButton"
|
||||||
|
android:background="@drawable/circle_touch_highlight_background_material3"
|
||||||
|
android:backgroundTint="@color/signal_colorOnSurface"
|
||||||
android:src="@drawable/exo_controls_play" />
|
android:src="@drawable/exo_controls_play" />
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@id/exo_pause"
|
android:id="@id/exo_pause"
|
||||||
style="@style/MediaPreviewButton"
|
style="@style/MediaPreviewButton"
|
||||||
|
android:background="@drawable/circle_touch_highlight_background_material3"
|
||||||
|
android:backgroundTint="@color/signal_colorOnSurface"
|
||||||
android:src="@drawable/exo_controls_pause" />
|
android:src="@drawable/exo_controls_pause" />
|
||||||
|
|
||||||
<org.thoughtcrime.securesms.mediapreview.LottieAnimatedButton
|
<org.thoughtcrime.securesms.mediapreview.LottieAnimatedButton
|
||||||
|
|
Ładowanie…
Reference in New Issue