I would like to add a view to my app that shows the list of days, with the user being able to select 1 or more days (for calendar-like repetition behavior).
The concept looks like this:
Sun | Mon | Tue | Wed | Thu | Fri | Sat
I first thought about using a ListView
but there are 2 problems I can think of with that approach:
ListView
only shows items vertically and not horizontally (by default).- There are only 7, static items. I'm not sure whether using a
ListView
is better than just doing it manually (LinearLayout
with 7 buttons; 1 for each day).
So my question is; what is the best way to achieve it?
*I know there is already a library for an horizontal ListView
, but it's not maintained anymore, and problems are not being solved, so it's not an option.