Draw month name on the following column.
This reverts commit f9377e17. See #55 for reason.
This commit is contained in:
parent
d14fbbd130
commit
b4c2d2237a
@ -308,11 +308,8 @@ public class HabitHistoryView extends ScrollableDataView implements HabitDataVie
|
|||||||
|
|
||||||
private void drawColumnHeader(Canvas canvas, Rect location, GregorianCalendar date)
|
private void drawColumnHeader(Canvas canvas, Rect location, GregorianCalendar date)
|
||||||
{
|
{
|
||||||
GregorianCalendar forwardDate = (GregorianCalendar) date.clone();
|
String month = dfMonth.format(date.getTime());
|
||||||
forwardDate.add(Calendar.DAY_OF_YEAR, 6);
|
String year = dfYear.format(date.getTime());
|
||||||
|
|
||||||
String month = dfMonth.format(forwardDate.getTime());
|
|
||||||
String year = dfYear.format(forwardDate.getTime());
|
|
||||||
|
|
||||||
String text = null;
|
String text = null;
|
||||||
if (!month.equals(previousMonth))
|
if (!month.equals(previousMonth))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user