Loading app/src/main/res/layouts/mastodon/layout/layout_media.xml +4 −1 Original line number Diff line number Diff line Loading @@ -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" Loading @@ -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 Loading app/src/main/res/values/themes.xml +3 −0 Original line number Diff line number Diff line Loading @@ -273,5 +273,8 @@ <item name="android:insetBottom">0dp</item> </style> <style name="ShapeAppearanceOverlay.Fedilab.DrawerMedia" parent=""> <item name="cornerSize">6dp</item> </style> </resources> Loading
app/src/main/res/layouts/mastodon/layout/layout_media.xml +4 −1 Original line number Diff line number Diff line Loading @@ -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" Loading @@ -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 Loading
app/src/main/res/values/themes.xml +3 −0 Original line number Diff line number Diff line Loading @@ -273,5 +273,8 @@ <item name="android:insetBottom">0dp</item> </style> <style name="ShapeAppearanceOverlay.Fedilab.DrawerMedia" parent=""> <item name="cornerSize">6dp</item> </style> </resources>