Adding a Splash Activity

Discussion in 'Tutorials' started by Vas, Sep 3, 2013.

  1. Ramjet Active Member

    Member Since:
    Dec 2, 2013
    Message Count:
    67
    Likes Received:
    12
    Trophy Points:
    50
    Hi wladca,

    In your splashscreen activity, do you have this line, like in the example in the first post:

    Typeface font = Typeface.createFromAsset(getAssets(), "fonts/SHOWG.TTF");

    If so, do you have that font in the assets folder of your project, and is it named exactly the same?

    If the font is in your assets folder, is it in the right path (assets/fonts/SHOWG.TTF)

    If you don't have the font, either find it on the net/your pc/wherever, and add it, or comment out the line in question, like:

    //Typeface font = Typeface.createFromAsset(getAssets(), "fonts/SHOWG.TTF");

    and also this line:

    //title.setTypeface(font);

    Then Save and do a Project > clean and try running it again.

    Hope that helps.
  2. wladca Active Member

    Member Since:
    Mar 20, 2013
    Message Count:
    50
    Likes Received:
    4
    Trophy Points:
    50
    Thanks man ! :)
  3. Ramjet Active Member

    Member Since:
    Dec 2, 2013
    Message Count:
    67
    Likes Received:
    12
    Trophy Points:
    50
    No worries, hope it helps!
  4. wladca Active Member

    Member Since:
    Mar 20, 2013
    Message Count:
    50
    Likes Received:
    4
    Trophy Points:
    50
    Anyway I prefer your option with launch settings and set wallpaper button on top ;-)
  5. Ramjet Active Member

    Member Since:
    Dec 2, 2013
    Message Count:
    67
    Likes Received:
    12
    Trophy Points:
    50
    Thanks man!

    imo though, use both designs if you can, and anything else you can come up with. It'll mix up your app listings and make it look like your making different apps instead of just using some cookie cutter template. More professional looking. Also, with different app designs, you can use your same lwp settings/assets in multiple apps and do split-testing and see if one design converts better than others, either in amount of installs or earnings.
  6. wladca Active Member

    Member Since:
    Mar 20, 2013
    Message Count:
    50
    Likes Received:
    4
    Trophy Points:
    50
    Its possible to back directly to home screen after changing wallpaper not to settings again like it was before that edit ? atm after install lwp launch , I click on set wallpaper button and after click change wallpaper in back directly to settings not to home screen. If you know what I should edit please tell me :)

Share This Page