Giter VIP home page Giter VIP logo

Comments (6)

OxygenCobalt avatar OxygenCobalt commented on August 11, 2024

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.

 avatar commented on August 11, 2024

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.

OxygenCobalt avatar OxygenCobalt commented on August 11, 2024

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.

OxygenCobalt avatar OxygenCobalt commented on August 11, 2024

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.

OxygenCobalt avatar OxygenCobalt commented on August 11, 2024

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.

OxygenCobalt avatar OxygenCobalt commented on August 11, 2024

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:

widgets

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.