Comments (6)
I could do this, but I'm not sure how compatible with the architecture of my app it could be. I never exactly designed my app with the idea that some UI element could exist outside of the main app process, so adding widgets might require me making a ton of changes to the internal structure. I'll look into it.
from auxio.
If this require this lots of work to do,you can add this feature later.
Widget isn't fully necessary but it allows users to play music in one tap without opening app
Also all music players have this feature included
Take your time and thanks for developing app
from auxio.
Good point. While I may not use it I will make an exception here. It may take awhile but it will be implemented eventually.
from auxio.
Update: Since Android 12 is introducing new widget tooling, I'll begin work on this feature once that version reaches the "Platform Stability" milestone. It may not be for me, but it seems like the benefits outweigh the costs, especially with this new drive to make widgets first-class again. This will be added in 1.4.1 1.4.2.
from auxio.
This is my plan for widgets as of right now:
- I'll design them with the upcoming Android 12 in mind, so they'll have to be cohesive with the other widgets in that version
- Widgets will follow the theme/accent on all versions except for Android 12, which will use the Material You theming system
- The widgets will be responsive, so it likely won't be 4x2, 4x1, but rather distinct variants with differently sized layouts
There will be four types of widgets:
- Full: basically the full playback screen [Album art, text, play/shuffle/skip/shuffle/loop]
- Compact: smaller, only contains the album art, text, and play/pause/skip buttons
- Minimal: only the album art is displayed, no controls are present
- Terminal: like minimal, but text-only instead
The latter two may change, but this seems to work well.
from auxio.
Done. I decided to actually go for a single responsive widget instead of multiple types, not only because that's the recommended method to do them in Android 12, but also because it makes creating UIs that don't suck a lot easier. Here it is:
Some more changes will probably be needed in the backend, but this is likely the final widget design. The widgets do work on all versions [including the more responsive aspects], and the UX is relatively rational. This addition will arrive in the next release.
from auxio.
Related Issues (20)
- [Feature Request] Add Song Properties to the song playing view. HOT 1
- Playback bottom sheet flickers on warm start HOT 2
- Allow to play file from file explorer even when we include/exclude some folders HOT 1
- Swipe to play next / previous tracks HOT 1
- Add an option to sort Artists by "ALBUM ARTIST" instead of "Artist" HOT 2
- The music is not found! HOT 1
- Pause when volume is silent HOT 3
- Battery Drain after Updating to Android 14 HOT 2
- Missing album error on certain libraries HOT 4
- Incorrect album art cover HOT 1
- Crashes after media scanning: IllegalArgumentException: HOT 3
- Error Scanning Music Library with Song Featuring the Same Artist Twice HOT 1
- Download the sample file below Auxio uses the wrong cover art HOT 1
- Auxio Shows the Wrong Artists Credit HOT 3
- A Better Artists Credit HOT 4
- Animate skip transitions HOT 2
- Improve foldable support
- sort by file path in songs list
- Swipe down to refresh music HOT 1
- Resource leak / Abnormal usage HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auxio.