kopia lustrzana https://github.com/ryukoposting/Signal-Android
Media preview design tweaks.
rodzic
f477a4dae9
commit
2e3d73f44b
|
@ -52,11 +52,11 @@
|
|||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:animateLayoutChanges="false"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginStart="12dp"
|
||||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginBottom="11dp"
|
||||
android:layout_gravity="center">
|
||||
android:animateLayoutChanges="false">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/media_preview_album_rail"
|
||||
|
@ -83,7 +83,8 @@
|
|||
android:layout_marginStart="12dp"
|
||||
android:layout_marginEnd="12dp"
|
||||
android:background="@drawable/circle_touch_highlight_background_material3"
|
||||
app:srcCompat="@drawable/symbol_share_android_24" />
|
||||
app:srcCompat="@drawable/symbol_share_android_24"
|
||||
app:tint="@color/signal_colorOnCustom" />
|
||||
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
|
@ -138,16 +139,16 @@
|
|||
style="@style/MediaPreviewButton"
|
||||
android:background="@drawable/circle_touch_highlight_background_material3"
|
||||
android:backgroundTint="@color/signal_colorOnSurface"
|
||||
app:srcCompat="@drawable/play_button_solid_24"
|
||||
app:rotationWhenHidden="90" />
|
||||
app:rotationWhenHidden="90"
|
||||
app:srcCompat="@drawable/play_button_solid_24" />
|
||||
|
||||
<org.thoughtcrime.securesms.mediapreview.AnimatedInOutImageButton
|
||||
android:id="@id/exo_pause"
|
||||
style="@style/MediaPreviewButton"
|
||||
android:background="@drawable/circle_touch_highlight_background_material3"
|
||||
android:backgroundTint="@color/signal_colorOnSurface"
|
||||
app:srcCompat="@drawable/pause_solid_24"
|
||||
app:rotationWhenHidden="-90" />
|
||||
app:rotationWhenHidden="-90"
|
||||
app:srcCompat="@drawable/pause_solid_24" />
|
||||
</FrameLayout>
|
||||
|
||||
<org.thoughtcrime.securesms.mediapreview.LottieAnimatedButton
|
||||
|
@ -189,7 +190,8 @@
|
|||
android:layout_marginStart="12dp"
|
||||
android:layout_marginEnd="12dp"
|
||||
android:background="@drawable/circle_touch_highlight_background_material3"
|
||||
app:srcCompat="@drawable/symbol_forward_24" />
|
||||
app:srcCompat="@drawable/symbol_forward_24"
|
||||
app:tint="@color/signal_colorOnCustom" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
|
|
@ -33,8 +33,8 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="bottom"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:paddingBottom="8dp"
|
||||
android:textColor="@color/core_white"
|
||||
|
@ -45,7 +45,8 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:animateLayoutChanges="true"
|
||||
android:background="@color/transparent" />
|
||||
android:background="@color/transparent"
|
||||
android:paddingTop="8dp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue