|
|
@ -29,27 +29,26 @@ public class IntroActivity extends AppIntro2
|
|
|
|
{
|
|
|
|
{
|
|
|
|
showStatusBar(false);
|
|
|
|
showStatusBar(false);
|
|
|
|
|
|
|
|
|
|
|
|
addSlide(AppIntroFragment.newInstance("Welcome",
|
|
|
|
addSlide(AppIntroFragment.newInstance(getString(R.string.intro_title_1),
|
|
|
|
"Loop helps you create and maintain good habits.", R.drawable.tutorial_1,
|
|
|
|
getString(R.string.intro_description_1), R.drawable.intro_icon_1,
|
|
|
|
Color.parseColor("#194673")));
|
|
|
|
Color.parseColor("#194673")));
|
|
|
|
|
|
|
|
|
|
|
|
addSlide(AppIntroFragment.newInstance("Create some new habits",
|
|
|
|
addSlide(AppIntroFragment.newInstance(getString(R.string.intro_title_2),
|
|
|
|
"Every day, after performing your habit, put a checkmark on the app.",
|
|
|
|
getString(R.string.intro_description_2), R.drawable.intro_icon_2,
|
|
|
|
R.drawable.tutorial_2, Color.parseColor("#ffa726")));
|
|
|
|
Color.parseColor("#ffa726")));
|
|
|
|
|
|
|
|
|
|
|
|
addSlide(AppIntroFragment.newInstance("Keep doing it",
|
|
|
|
addSlide(AppIntroFragment.newInstance(getString(R.string.intro_title_3),
|
|
|
|
"Habits performed consistently for a long time will earn a full star.",
|
|
|
|
getString(R.string.intro_description_3), R.drawable.intro_icon_3,
|
|
|
|
R.drawable.tutorial_3, Color.parseColor("#7cb342")));
|
|
|
|
Color.parseColor("#7cb342")));
|
|
|
|
|
|
|
|
|
|
|
|
addSlide(AppIntroFragment.newInstance("Track your progress",
|
|
|
|
addSlide(AppIntroFragment.newInstance(getString(R.string.intro_title_4),
|
|
|
|
"Detailed graphs show you how your habits improved over time.",
|
|
|
|
getString(R.string.intro_description_4), R.drawable.intro_icon_4,
|
|
|
|
R.drawable.tutorial_4, Color.parseColor("#9575cd")));
|
|
|
|
Color.parseColor("#9575cd")));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onNextPressed()
|
|
|
|
public void onNextPressed()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
@ -61,6 +60,5 @@ public class IntroActivity extends AppIntro2
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onSlideChanged()
|
|
|
|
public void onSlideChanged()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|