Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for issue #58 #59

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix for issue #58 #59

wants to merge 2 commits into from

Conversation

OdeyFox
Copy link

@OdeyFox OdeyFox commented Oct 7, 2021

Fix for issue #58

  • added functionality to load image from URL using Picasso.
  • added functionality to change "title text color", "description text color", "title text style", "description text style", "title text size", "description text size".
  • added TextStyle.java Enum.
  • added internet permission to the fragment example.
  • added Picasso dependency.

Usage

    PaperOnboardingPage scr1 = new PaperOnboardingPage("Hotels", "All hotels and hostels are sorted by hospitality rating",
                Color.parseColor("#678FB4"), R.drawable.hotels, R.drawable.key);

        scr1.setImageUrl("https://en.wikipedia.org/wiki/Pikachu#/media/File:Pok%C3%A9mon_Pikachu_art.png");
        scr1.setImageWidth(200);
        scr1.setImageHeight(100);
        scr1.setTitleTextColor(Color.parseColor("#FFFFFF"));
        scr1.setDescriptionTextColor(Color.parseColor("#FFFFFF"));
        scr1.setTitleTextSize(50);
        scr1.setDescriptionTextSize(30);
        scr1.setTitleTextStyle(TextStyle.BOLD_ITALIC);
        scr1.setDescriptionTextStyle(TextStyle.ITALIC);

- added functionality to change "title text color", "description text color", "title text style", "description text style", "title text size", "description text size".
- added TextStyle.java Enum.
- added internet permission to the fragment example.
- added Picasso dependency.
- applied user set height and width for local icon resources.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant