Comments (8)
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.
Yes, but how do I have to add the library folder into my project?
from android-about-page.
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.
Yes, but I need to have the files on my project, or not?
from android-about-page.
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.
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.
from android-about-page.
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.
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)
- font HOT 2
- Incorrect image color, iconDrawable is dark HOT 1
- Ads Implementation HOT 1
- Facebook Page: Trouble Loading HOT 2
- Google Play Rating HOT 1
- Possible To Change Image Position ?
- How do I changed the background color of the about page? HOT 3
- Add App Gallery and Galaxy Store HOT 2
- Can't Implement Image as Web link HOT 3
- Auto night mode support HOT 2
- toolbar
- Email icon isn't visible in dark mode HOT 7
- About Page android
- Font is not use by typeface
- Impact of jCenter EOL HOT 1
- iOS About Page
- Not able to load external image HOT 2
- Add Phone Element Suggestion
- Strezless
- I would like you to add LinkedIn and whatsapp HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-about-page.