diff options
author | Christian Schneppe <christian.schneppe@pix-art.de> | 2019-09-24 19:54:03 +0200 |
---|---|---|
committer | Christian Schneppe <christian.schneppe@pix-art.de> | 2019-09-24 19:54:03 +0200 |
commit | 59f392a17aed84019a51558aa582a66f567438e3 (patch) | |
tree | 3835b11ba3fa4ce32e2b4c624bf0e21edee36fce /src/main/java | |
parent | 7286bf019ea51a33a09f895d273281a1d5c6d692 (diff) |
minor intro improvements, shorten some texts
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/IntroActivity.java | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/IntroActivity.java b/src/main/java/de/pixart/messenger/ui/IntroActivity.java index 802072efe..6164b2df3 100644 --- a/src/main/java/de/pixart/messenger/ui/IntroActivity.java +++ b/src/main/java/de/pixart/messenger/ui/IntroActivity.java @@ -57,6 +57,13 @@ public class IntroActivity extends AppIntro { welcome.setBgColor(backgroundColor); addSlide(AppIntroFragment.newInstance(welcome)); + SliderPage xmpp = new SliderPage(); + xmpp.setTitle(getString(R.string.intro_whats_xmpp)); + xmpp.setDescription(getString(R.string.intro_desc_whats_xmpp)); + xmpp.setImageDrawable(R.drawable.intro_xmpp_icon); + xmpp.setBgColor(backgroundColor); + addSlide(AppIntroFragment.newInstance(xmpp)); + SliderPage permissions = new SliderPage(); permissions.setTitle(getString(R.string.intro_permissions)); permissions.setDescription(getString(R.string.intro_desc_permissions)); @@ -64,6 +71,13 @@ public class IntroActivity extends AppIntro { permissions.setBgColor(backgroundColor); addSlide(AppIntroFragment.newInstance(permissions)); + SliderPage permissions2 = new SliderPage(); + permissions2.setTitle(getString(R.string.intro_permissions)); + permissions2.setDescription(getString(R.string.intro_desc_contacts_permissions)); + permissions2.setImageDrawable(R.drawable.intro_contacts_icon); + permissions2.setBgColor(backgroundColor); + addSlide(AppIntroFragment.newInstance(permissions2)); + SliderPage account = new SliderPage(); account.setTitle(getString(R.string.intro_account)); account.setDescription(getString(R.string.intro_desc_account)); @@ -71,6 +85,13 @@ public class IntroActivity extends AppIntro { account.setBgColor(backgroundColor); addSlide(AppIntroFragment.newInstance(account)); + SliderPage account2 = new SliderPage(); + account2.setTitle(getString(R.string.intro_account)); + account2.setDescription(getString(R.string.intro_desc_account2)); + account2.setImageDrawable(R.drawable.intro_account_icon); + account2.setBgColor(backgroundColor); + addSlide(AppIntroFragment.newInstance(account2)); + SliderPage startChatting = new SliderPage(); startChatting.setTitle(getString(R.string.intro_start_chatting)); startChatting.setDescription(getString(R.string.intro_desc_start_chatting)); @@ -129,6 +150,5 @@ public class IntroActivity extends AppIntro { @Override public void onSlideChanged(@Nullable Fragment oldFragment, @Nullable Fragment newFragment) { super.onSlideChanged(oldFragment, newFragment); - // Do something when the slide changes. } } |