Skip to content

IbrahimOdeh/IbraDialog

Repository files navigation

IbraDialog

platform API

This Helpful Dialog for you if you want to make Amazing "About Me" Dialog for your Android App, animatied and easily to use.

Prerequisites

Add this in your root build.gradle file (not your module build.gradle file):

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

Dependency

Add this to your module's build.gradle file (make sure the version matches the JitPack badge above):

dependencies {
	        implementation 'com.github.IbrahimOdeh:IbraDialog:1.0.3'
	}

Screenshots

How To Use

final IbraDialog ibraDialog = new IbraDialog(this);
        ibraDialog.setTitle("Ibrahim Odeh")
                .setSubTitle("Professional Developer")
                .setContent("I am Android and Web Developer, who provides the best services for your or your business.")
                .setIcon(com.ibrahimodeh.ibradialog.R.drawable.ibrahim_logo)
                .setFollow("Follow Me")
                .setFacebookURL("https://fb.me/IbrahimOdehWebsite")
                .setTwitterURL("https://twitter.com/IbrahimOdeh95")
                .setInstagramURL("https://www.instagram.com/ibrahim0deh")
                .setPinterestURL("https://www.pinterest.com/ibrahimodeh1995")
                .setWebsiteURL("https://www.ibrahimodeh.com")
                .isCancelable(true)
                .show();

Table of Useful Methods

Method Description
setTitle(String) The Title Text of the Dialog.
setSubTitle(String) The sub Title Text of the Dialog.
setContent(String) The Content Description Text of the Dialog.
setIcon(int) Set the Image of the Dialog.
setFollow(String) Set the Text For the "Folllow Us" section.
setFacebookURL(String) Set your Facebook URL.
setTwitterURL(String) Set your Twitter URL.
setInstagramURL(String) Set your Instagram URL.
setPinterestURL(String) Set your Pinterest URL.
setWebsiteURL(String) Set your Website URL for the Button.
isCancelable(boolean) Set Dialog is Cancelable or not (true or false).

Contributing

Please fork this repository and contribute back using pull requests.

Any contributions, large or small, major features, bug fixes, are welcomed and appreciated but will be thoroughly reviewed .

Follow Me

License

MIT License

Copyright (c) 2019-2022 Ibrahim Odeh

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.