Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Fedilab
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Android-smartphones
Fedilab
Commits
fb932b29
Commit
fb932b29
authored
3 months ago
by
0xd9a
Browse files
Options
Downloads
Patches
Plain Diff
Add an outline around media
parent
1be12f1f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/src/main/res/layouts/mastodon/layout/layout_media.xml
+4
-1
4 additions, 1 deletion
app/src/main/res/layouts/mastodon/layout/layout_media.xml
app/src/main/res/values/themes.xml
+3
-0
3 additions, 0 deletions
app/src/main/res/values/themes.xml
with
7 additions
and
1 deletion
app/src/main/res/layouts/mastodon/layout/layout_media.xml
+
4
−
1
View file @
fb932b29
...
...
@@ -6,7 +6,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<
androidx.appcompat.widget.AppCompat
ImageView
<
com.google.android.material.imageview.Shapeable
ImageView
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
...
...
This diff is collapsed.
Click to expand it.
app/src/main/res/values/themes.xml
+
3
−
0
View file @
fb932b29
...
...
@@ -273,5 +273,8 @@
<item
name=
"android:insetBottom"
>
0dp
</item>
</style>
<style
name=
"ShapeAppearanceOverlay.Fedilab.DrawerMedia"
parent=
""
>
<item
name=
"cornerSize"
>
6dp
</item>
</style>
</resources>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment