Show only the days of the week (Sunday to Saturday)
Is there other way to show only ONE WEEK, featuring the days (Sunday - Monday - Tuesday - Wednesday - Thursday - Friday - Saturday), as the header columns, and no specified dates?
Duplicate of #6
Actually I've encountered this awhile ago @caske33, but how do I replace it with the default Android-Week-View library?
And also will it also cause some conflicts and exceptions with the current version of Android-Week-Library? I tried contacting the author of the repository but he seems inactive already.
There is currently no support for this in this library.
I see. That's sad.
maybe there's a possibility, haven't tested but it may work.
by setting xScrollingSpeed to 0 and noOfVisibleDays to 7 you should get a view that shows 7 days and cant scroll any more.
for the names of days you can use your own DateTimeInterpreter using EEEE or EEE only in interpretDate
@Override
public String interpretDate(Calendar date) {
return new SimpleDateFormat("EEEE").format(date.getTime());
}
the only thing left to do is to use goToDate an select the right date
does setting xScrollingSpeed to 0 work, @marunjar ?
Where and how do I set the xScrollingSpeed @marunjar?
it's an attribute on the weekView.
I see, I'll try this @caske33.
Regarding the goToDate @marunjar, what do you mean by "select the right date"? Date refers to the numbers right, so I am confused as to why I need to set this, cause I only need the DAYS (Sunday to Saturday). Please elaborate it further.
as you'll need to provide a day and time in your events, you should instruct the weekview to go to the right day, otherwise the events won't be visible.
I'm sorry @marunjar and @caske33, I tried it but I think you misunderstood something.
I like it to be a one Day View as shown here

So if I set it to xScrollingSpeed to 0 and noOfVisibleDays to 7, it would show a seven Day View, but non scrollable.
What I am aiming is a scrollable one Day View, but stops before Sunday and after Saturday.
That's currently not possible.
It is but you have to mod the lib itself...
I assume that you can check the current day in the touchListener so you can basically cancel all effect of this listener in a given direction for a given day. Did I miss something @caske33 (yes, I'm back in the business, exams are over!)?
Duplicate of #6
Not sure @lolobosse. I think that could do it, but there is also the swing which might make it go over the edge, I think.
Hi, This has already been implemented?