Commit 6d5dbb25 authored by Thomas's avatar Thomas
Browse files

Merge pull request 'Add an outline around media' (#1174) from...

Merge pull request 'Add an outline around media' (#1174) from 0xd9a/Fedilab:media_borders into develop

Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/1174
parents 1be12f1f fb932b29
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <androidx.appcompat.widget.AppCompatImageView
    <com.google.android.material.imageview.ShapeableImageView
        android:id="@+id/media"
        android:adjustViewBounds="true"
        android:layout_height="match_parent"
@@ -16,6 +16,9 @@
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.Fedilab.DrawerMedia"
        app:strokeColor="?colorOutline"
        app:strokeWidth="1dp"
        tools:ignore="ContentDescription" />

    <androidx.media3.ui.PlayerView
+3 −0
Original line number Diff line number Diff line
@@ -273,5 +273,8 @@
        <item name="android:insetBottom">0dp</item>
    </style>

    <style name="ShapeAppearanceOverlay.Fedilab.DrawerMedia" parent="">
        <item name="cornerSize">6dp</item>
    </style>

</resources>