Open therealsujitk opened 2 years ago
assign this to me I was thinking of exactly the same feature
Do you have any design templates for how the widget would look?
I tried to make it match the overall app theme
Hi @therealsujitk ,I would like to work on this. I have some ideas for possible widgets. All of these widget themes and styling follow the Material 3.0 Design guidelines.
Upcoming Class: Shows the next class attendance and the classroom. This same widget during exam times will display another view that is related to the exam schedule as shown below
Upcoming Classes: A widget that shows 2-3 of the next upcoming classes. Here is an example image of that. The widget targets a 2x3 home screen grid.
Overall Stats : A smaller widget that shows your overall attendance. (Not sure if this would be useful though)
Upcoming Assignments: Shows the upcoming assignments you have due. Something similar to the google photos widgets where swiping down cycles through the assignments you have left (Still didn't mock-up a design for this one)
If you are wondering how they look on a homescreen here is an example
I was thinking about hooking the widget update logic into the broadcast receiver that fires to display the upcoming class and exam notifications. There is no minimum time for widget updates if the widget update is triggered by the app manually so that won't be a problem.
Please let me know your thoughts on these ideas and I can work on implementing them into the app
Hey @Guhan-SenSam thanks for contributing! This UI looks good, though i'd prefer it to match with the phone's UI (the fonts, colours, progress bar style, etc.), the placement of the components seem fine to me. It'll be better if you include the course code as well.
You can maybe start with the timetable first, let's perfect it, and then we'll focus on the exam schedule. Feel free to open a draft PR and @mention me if you need any help.
Thanks! Regarding the styles matching ,the colours will be decided by android automatically(Material Design 3 Monet Engine Computed Colours) and in terms of the font its default Roboto font. The progress bar ya I will use the default android component one.
I will create a PR with the changes soon.
Cool 👍. The app uses a font called Rubik, it's present locally in the app resources folder.
Feature Request
It would be very convenient to have home screen widgets showing the current day's timetable, exams and assignments.