mirror of
https://github.com/wismna/DoNext.git
synced 2025-10-03 15:40:14 -04:00
Some renaming
This commit is contained in:
@@ -34,8 +34,8 @@ public class TodayActivity extends ToolBarActivityBase
|
|||||||
initToolBar();
|
initToolBar();
|
||||||
|
|
||||||
// Show the date
|
// Show the date
|
||||||
TextView date = findViewById(R.id.today_date);
|
TextView dateTextView = findViewById(R.id.today_date);
|
||||||
date.setText(LocalDate.now().toString("EEEE, dd MMMM yyyy", getCurrentLocale()));
|
dateTextView.setText(LocalDate.now().toString("EEEE, dd MMMM yyyy", getCurrentLocale()));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -44,13 +44,13 @@ public class TodayActivity extends ToolBarActivityBase
|
|||||||
super.onStart();
|
super.onStart();
|
||||||
|
|
||||||
// Set the no tasks texts
|
// Set the no tasks texts
|
||||||
TextView noTasks = findViewById(R.id.no_more_tasks);
|
TextView noTasksTextView = findViewById(R.id.no_more_tasks);
|
||||||
noTasks.setText(R.string.today_no_tasks);
|
noTasksTextView.setText(R.string.today_no_tasks);
|
||||||
noTasks.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_smiley_satisfied_light, 0);
|
noTasksTextView.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_smiley_satisfied_light, 0);
|
||||||
noTasks.setCompoundDrawablePadding(10);
|
noTasksTextView.setCompoundDrawablePadding(10);
|
||||||
|
|
||||||
TextView createTasks = findViewById(R.id.create_tasks);
|
TextView createTasksTextView = findViewById(R.id.create_tasks);
|
||||||
createTasks.setText(R.string.today_create_tasks);
|
createTasksTextView.setText(R.string.today_create_tasks);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user