Material About

Additional

Language
Java
Version
0.2.4 (Apr 27, 2020)
Created
Feb 12, 2017
Updated
Apr 27, 2020
Owner
Júnior Vansuita (jrvansuita)
Contributors
marbat87
soundlicious
Wasim Abuzaher (wasim-abuzaher)
Guri Getsadze (getsadzeg)
Júnior Vansuita (jrvansuita)
jonathan-caryl
ordago
jizhoulee
Onur Yurttürk (onuryurtturk)
Lukas (lbug)
Roman (sfilmak)
Florian Dreier (DreierF)
Richard Muvirimi (tygalive)
Mark Choi (softinus)
Vlady (Polyterative)
Felix Divo (felixdivo)
Caleb Jones (ItsCalebJones)
József Barát (jbarat)
Show all (27)27
Activity
Badge
Generate
Download
Source code
APK file

Advertising

Material About

This is an Android project. You, as a mobile developer, can use this library to show a material about screen in your apps. It was built to make your life easier when introducing you to your users, and also, to create an about screen pattern for material android apps. It's really simple and dynamic, check it out.



Step #2. Add the dependency (See latest release).

dependencies {
       compile 'com.github.jrvansuita:MaterialAbout:+'
}

Implementation

Create a AboutView instance with AboutBuilder.

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    AboutView view = AboutBuilder.with(this)
                 .setPhoto(R.mipmap.profile_picture)
                 .setCover(R.mipmap.profile_cover)
                 .setName("Your Full Name")
                 .setSubTitle("Mobile Developer")
                 .setBrief("I'm warmed of mobile technologies. Ideas maker, curious and nature lover.")
                 .setAppIcon(R.mipmap.ic_launcher)
                 .setAppName(R.string.app_name)
                 .addGooglePlayStoreLink("8002078663318221363")
                 .addGitHubLink("user")
                 .addFacebookLink("user")
                 .addFiveStarsAction()
                 .setVersionNameAsAppSubTitle()
                 .addShareAction(R.string.app_name)
                 .setWrapScrollView(true)
                 .setLinksAnimated(true)
                 .setShowAsCard(true)
                 .build();

    addContentView(view, layoutParams);
}

Additional

Getting the list of actions or links from AboutBuilder.

AboutBuilder aboutBuilder = AboutBuilder.with(this);

List<Item> actions = aboutBuilder.getActions();
List<Item> links = aboutBuilder.getActions();

Getting the view instance of any action or link from AboutView?

AboutView view = AboutBuilder.with(this)
                 ...
                 .build();

View lastLinkView = view.findItem(builder.getLastLink());
View lastActionView = view.findItem(builder.getLastAction());

Used libraries