Skip to content

techhuntdevelopers/AndroidAboutUs

Repository files navigation

AndoidAboutUs

This is an Android About Us project. You can buid your own about us screen using this library to make build easily.


app

This library has a lot more customization and features than is able to show here. Please check the sample app.

Setup

This library requires minSdkVersion to be set to 14 or above.

Step #1. Add the JitPack repository to your build file:

allprojects {
    repositories {
	...
	maven { url "https://jitpack.io" }
    }
}

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

dependencies {
       implementation 'com.github.techhuntdevelopers:AndroidAboutUs:x.y.z'
}

Implementation

Create a AboutView instance with AboutBuilder.

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

    AboutBuilder builder = AboutBuilder.with(MainActivity.this)
                .setAppIcon(R.mipmap.ic_launcher)
                .setAppName(R.string.app_name)
                .setPhoto(R.mipmap.profile_picture)
                .setCover(R.mipmap.profile_cover)
                .setLinksAnimated(true)
                .setDividerDashGap(13)
                .setName("TechHunt Developers")
                .setSubTitle("Android Appilication Developer")
                .setLinksColumnsCount(4)
                .setBrief("Develop Innovative")
                .addGooglePlayStoreLink("7399966994559253451")
                .addGitHubLink("techhuntdevelopers")
                .addFacebookLink("techhuntdevelopers")
                .addInstagramLink("techhunt_developers")
                .addEmailLink("[email protected]")
                .addWhatsappLink("Thoriya Prahalad", "+918155851357")
                .addFiveStarsAction()
                .addMoreFromMeAction("TechHunt Developers")
                .setVersionNameAsAppSubTitle()
                .addShareAction(R.string.app_name)
                .addUpdateAction()
                .setActionsColumnsCount(2)
                .addFeedbackAction("[email protected]")
                .addIntroduceAction((Intent) null)
                .addHelpAction((Intent) null)
                .addChangeLogAction((Intent) null)
                .addRemoveAdsAction((Intent) null)
                .addDonateAction((Intent) null)
                .setWrapScrollView(true)
                .setShowAsCard(true);

     AboutView view = builder.build();

     about.addView(view); //about is Layout
}

Credit

Júnior Vansuita