Giter Site home page Giter Site logo

tutorialview's People

Contributors

bryant1410 avatar gitter-badger avatar intrications avatar itzikbraun avatar yelinaung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tutorialview's Issues

Crash if no font is set

If no font is set then the library crashes:

                    E  java.lang.NullPointerException
                     E      at android.graphics.FontFamily.nAddFontFromAsset(Native Method)
                     E      at android.graphics.FontFamily.addFontFromAsset(FontFamily.java:70)
                     E      at android.graphics.Typeface.createFromAsset(Typeface.java:185)
                     E      at com.braunster.tutorialview.view.AbstractTutorialView.initTypeFace(AbstractTutorialView.java:466)
                     E      at com.braunster.tutorialview.view.AbstractTutorialView.setTutorial(AbstractTutorialView.java:285)
                     E      at com.braunster.tutorialview.view.TutorialLayout.setTutorial(TutorialLayout.java:81)
                     E      at com.braunster.tutorialview.TutorialActivity.onWindowFocusChanged(TutorialActivity.java:110)
                     E      at com.android.internal.policy.impl.PhoneWindow$DecorView.onWindowFocusChanged(PhoneWindow.java:3174)
                     E      at android.view.View.dispatchWindowFocusChanged(View.java:8680)
                     E      at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1055)
                     E      at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3284)
                     E      at android.os.Handler.dispatchMessage(Handler.java:102)
                     E      at android.os.Looper.loop(Looper.java:135)
                     E      at android.app.ActivityThread.main(ActivityThread.java:5254)
                     E      at java.lang.reflect.Method.invoke(Native Method)
                     E      at java.lang.reflect.Method.invoke(Method.java:372)
                     E      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
                     E      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
            Process  I  Sending signal. PID: 8443 SIG: 9

Gradle Dependencies

Hey, I'm working in Android Studio and I would like to try using your library for a project I'm working on, but my limited knowledge of gradle and maven and stuff is getting in my way for importing it. Every library I've used so far was imported by putting a line:

compile '::'

in my build.gradle file. Is that doable with your library?

Gradle DSL not found

Error:(52, 0) Gradle DSL method not found: 'com.github.itzikbraun:TutorialView:0.8.1()'
Possible causes:

publishing the library on a repo

Hi,
would it be possible to publish the library on some repo of your choice (doesn't have to necessarly to be Maven Central)?
So far, I've been able to grab it via jitpack

https://jitpack.io/#itzikBraun/TutorialView/72d07059a9

That for sure would simplify a lot the update process to a new version.

P.S.: the library is awesome!

The Tutorial doesnt show a circle around the view as is its shown the demo gif

Hi @itzikBraun i developed sample app to see how your libray works.

I have a textview with text "Hello World" and i tried it with your library to describe its purpose.
The Tutorial got generated but the View was not surrounded/Higlighted by another view.
Below is a link to the image describing the issue.

device-2015-08-11-121348

I used the following code.
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
tv1 = (TextView)findViewById(R.id.tv_msg);
tv2 = (TextView)findViewById(R.id.tv_msg_2);

    TutorialIntentBuilder builder = new TutorialIntentBuilder(MainActivity.this);
    TutorialBuilder builder1 = new TutorialBuilder();
    builder.changeSystemUiColor(false);
    builder1.setTitle("The Title")
            .setViewToSurround(tv1)
            .setInfoText("This is the explanation about the view.")
            .setBackgroundColor(Color.parseColor("#aa000000"))
            .setTutorialTextColor(Color.WHITE)
            .setTutorialTextTypeFaceName("fonts/roboto_light.ttf")
            .setTutorialTextSize(25)
            .setAnimationDuration(500);
    TutorialBuilder builder2 = new TutorialBuilder();

    builder2.setTitle("The Title")
            .setViewToSurround(tv2)
            .setInfoText("This is the explanation about the view.")
            .setBackgroundColor(Color.parseColor("#aa000000"))
            .setTutorialTextColor(Color.RED)
            .setTutorialTextTypeFaceName("fonts/roboto_light.ttf")
            .setTutorialTextSize(25)
            .setAnimationDuration(500);

    tutorials.add(builder1.build());
    tutorials.add(builder2.build());

    builder.skipTutorialOnBackPressed(true);
    builder.setWalkThroughList(tutorials);
    startActivity(builder.getIntent());
    //        builder.setTutorial(tBuilder.build());

// startActivity(builder.getIntent());
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.