Git Product home page Git Product logo

Comments (8)

 avatar commented on August 19, 2024

Check out this file. Very simple example. Basically you need to create a View object and then load it into Activity by using method setContentView(aboutPage);

If it doesn't work then post the crash log here, without that we can't help you.

from android-about-page.

juandiegoapps avatar juandiegoapps commented on August 19, 2024

Yes, but how do I have to add the library folder into my project?

from android-about-page.

 avatar commented on August 19, 2024

No need to manually include library. Inside your android project app/build.gradle

At the very bottom of that file you should have something like this:

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    . . .
    compile 'com.github.medyo:android-about-page:1.0.8'
}

I added . . . because you probably have more things inside, so don't write that inside. Just add compile 'com.github.medyo:android-about-page:1.0.8' to the bottom and you're done.

from android-about-page.

juandiegoapps avatar juandiegoapps commented on August 19, 2024

Yes, but I need to have the files on my project, or not?

from android-about-page.

juandiegoapps avatar juandiegoapps commented on August 19, 2024

Sorry, but I don't know how to use projects from GitHub, just because I don't know If I have ti import modules or just add these lines into app/build.gradle...

from android-about-page.

 avatar commented on August 19, 2024

99% of the time you never include any files manually. Just add these lines into build.gradle, sync your project (click on button in toolbar, see image below) and it will include all files you need for you automatically.

gradle

from android-about-page.

juandiegoapps avatar juandiegoapps commented on August 19, 2024

Ok. Now I'm going to do it. And If I just want to change the Image (in this case, of Pocket)?

from android-about-page.

 avatar commented on August 19, 2024

Look at the example project that I linked in my first reply. This line of code is important .setImage(R.drawable.dummy_image)

R.drawable.dummy_image this basically points to the image with filename dummy_image inside folder named drawable in your project.

Copy your image to drawable folder and then .setImage(R.drawable.your_image_filename), but do not add any extension (.png / .jpg)

If you are new to Android in general then I suggest you check out this guides. Most of these things I said here are explained a lot better in these guides.

If you don't have any more problems with this specific library then please close this issue. :)

from android-about-page.

Related Issues (20)

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.