Skip to content

Commit ae7d880

Browse files
committed
Update the images showing how to subscribe
1 parent fc0f40f commit ae7d880

11 files changed

+87
-12
lines changed

README.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,13 @@ This repository publishes [release notes] of [AndroidX (Jetpack) libraries].
1515
You can subscribe to GitHub release notifications by selecting
1616
*Watch* 🡲 *Custom* 🡲 *Releases*:
1717

18-
<img width="100%" src="assets/how-to-subscribe-light-plain.gif#gh-light-mode-only" alt="How to subscribe for notifications" />
19-
<img width="100%" src="assets/how-to-subscribe-dark-plain.gif#gh-dark-mode-only" alt="How to subscribe for notifications" />
18+
<div align="center">
19+
<picture>
20+
<source media="(prefers-color-scheme: dark)" srcset="assets/how-to-subscribe-dark.gif">
21+
<source media="(prefers-color-scheme: light)" srcset="assets/how-to-subscribe-light.gif">
22+
<img alt="How to subscribe" src="assets/how-to-subscribe-light.gif">
23+
</picture>
24+
</div>
2025

2126
The Markdown, HTML, and plain text version of the release notes can be downloaded
2227
in the *Assets* section at the bottom of the GitHub release page.
@@ -30,13 +35,12 @@ See the file *[generateReleaseNotes.py]* for how the release notes are generated
3035
- [Separate release notes for each library]: It seems to be discontinued
3136

3237

33-
34-
[Android Developers]: https://developer.android.com/jetpack
35-
[release notes]: https://developer.android.com/jetpack/androidx/versions/all-channel
36-
[AndroidX (Jetpack) libraries]: https://developer.android.com/jetpack/androidx/versions
37-
[original AndroidX GitHub repository here]: https://github.com/androidx/androidx
38-
[its AOSP source here]: https://android.googlesource.com/platform/frameworks/support/
39-
[generateReleaseNotes.py]: https://github.com/androidx/androidx/blob/859aae63bdb92645d03acdc741a2edafb0c6ce5d/development/release-notes/generateReleaseNotes.py
40-
[Now in Android]: https://github.com/android/nowinandroid
41-
[Jetpack Release Tracker]: https://github.com/lmj0011/jetpack-release-tracker
42-
[Separate release notes for each library]: https://github.com/androidx-releases
38+
[Android Developers]: https://developer.android.com/jetpack
39+
[release notes]: https://developer.android.com/jetpack/androidx/versions/all-channel
40+
[AndroidX (Jetpack) libraries]: https://developer.android.com/jetpack/androidx/versions
41+
[original AndroidX GitHub repository here]: https://github.com/androidx/androidx
42+
[its AOSP source here]: https://android.googlesource.com/platform/frameworks/support/
43+
[generateReleaseNotes.py]: https://github.com/androidx/androidx/blob/859aae63bdb92645d03acdc741a2edafb0c6ce5d/development/release-notes/generateReleaseNotes.py
44+
[Now in Android]: https://github.com/android/nowinandroid
45+
[Jetpack Release Tracker]: https://github.com/lmj0011/jetpack-release-tracker
46+
[Separate release notes for each library]: https://github.com/androidx-releases

assets/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
To create the GIFs do the following:
2+
1. Set the screen resolution to 1280×720 in OS settings
3+
2. Run the [mouse script](../scripts/mouse.main.kts) to generate mouse movements
4+
3. Run the AutoMouse Pro and click *Load* and select the generated `.arf` file from previous step
5+
4. Click *Replay*
6+
5. Use either FFmpeg or Bandicam to record the video:
7+
`./ffmpeg.exe -f gdigrab -framerate 30 -offset_x 0 -offset_y 90 -video_size 1280x580 -show_region 1 -i desktop video.mp4`
8+
6. Convert the video to GIF:
9+
`./ffmpeg.exe -i video.mp4 -vf "fps=30,split[s0][s1];[s0]palettegen=max_colors=32[p];[s1][p]paletteuse" -loop 0 output.gif`
10+
7. Optimize the GIF using, for example, online tools
-502 KB
Binary file not shown.
-491 KB
Binary file not shown.

assets/how-to-subscribe-dark.gif

333 KB
Loading

assets/how-to-subscribe-dark.webm

-544 KB
Binary file not shown.
-531 KB
Binary file not shown.
-471 KB
Binary file not shown.

assets/how-to-subscribe-light.gif

359 KB
Loading

assets/how-to-subscribe-light.webm

-529 KB
Binary file not shown.

0 commit comments

Comments
 (0)