{"id":21292870,"url":"https://github.com/shashank02051997/fancygifdialog-android","last_synced_at":"2025-04-05T01:08:08.550Z","repository":{"id":50375033,"uuid":"116494057","full_name":"Shashank02051997/FancyGifDialog-Android","owner":"Shashank02051997","description":"Make your native android Dialog Fancy and Gify. A library that takes the standard Android Dialog to the next level with a variety of styling options and Gif's. Style your dialog from code.","archived":false,"fork":false,"pushed_at":"2022-07-28T15:56:05.000Z","size":23350,"stargazers_count":527,"open_issues_count":3,"forks_count":109,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-03-29T00:09:59.595Z","etag":null,"topics":["android","android-lib","android-library","dialog","dialog-box","gif","gif-animation","gif-library","java","material-design","ui","ui-widget"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Shashank02051997.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-06T15:33:45.000Z","updated_at":"2025-01-07T11:16:59.000Z","dependencies_parsed_at":"2022-08-28T03:02:37.360Z","dependency_job_id":null,"html_url":"https://github.com/Shashank02051997/FancyGifDialog-Android","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shashank02051997%2FFancyGifDialog-Android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shashank02051997%2FFancyGifDialog-Android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shashank02051997%2FFancyGifDialog-Android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shashank02051997%2FFancyGifDialog-Android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shashank02051997","download_url":"https://codeload.github.com/Shashank02051997/FancyGifDialog-Android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247271530,"owners_count":20911587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-lib","android-library","dialog","dialog-box","gif","gif-animation","gif-library","java","material-design","ui","ui-widget"],"created_at":"2024-11-21T13:52:29.490Z","updated_at":"2025-04-05T01:08:03.541Z","avatar_url":"https://github.com/Shashank02051997.png","language":"Java","funding_links":["https://www.buymeacoffee.com/mXUuDW7"],"categories":[],"sub_categories":[],"readme":"# FancyGifDialog-Android\n[![platform](https://img.shields.io/badge/platform-Android-yellow.svg)](https://www.android.com)\n[![API](https://img.shields.io/badge/API-15%2B-brightgreen.svg?style=plastic)](https://android-arsenal.com/api?level=15)\n[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg?style=flat-square)](https://www.apache.org/licenses/LICENSE-2.0.html)\n[![](https://jitpack.io/v/Shashank02051997/FancyGifDialog-Android.svg)](https://jitpack.io/#Shashank02051997/FancyGifDialog-Android)\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-FancyGifDialog-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/6652)\n\n\u003ca href=\"https://play.google.com/store/apps/details?id=com.shashank.sony.fancylibrarybyshashank\"\u003e\n    \u003cimg alt=\"Get it on Google Play\"\n        height=\"80\"\n        src=\"https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png\" /\u003e\n\u003c/a\u003e\n\n## Prerequisites\n\nAdd this in your root `build.gradle` file (**not** your module `build.gradle` file):\n\n```gradle\nallprojects {\n\trepositories {\n\t\t...\n\t\tmaven { url \"https://jitpack.io\" }\n\t}\n}\n```\n\n## Dependency\n\nAdd this to your module's `build.gradle` file (make sure the version matches the JitPack badge above):\n\n```gradle\ndependencies {\n\t...\n\timplementation 'com.github.Shashank02051997:FancyGifDialog-Android:1.5'\n}\n```\n## Fancy Gif Dialog\n\nDialog with two buttons:\n\n``` java\nnew FancyGifDialog.Builder(this)\n                .setTitle(\"Granny eating chocolate dialog box\") // You can also send title like R.string.from_resources\n                .setMessage(\"This is a granny eating chocolate dialog box. This library is used to help you easily create fancy gify dialog.\") // or pass like R.string.description_from_resources\n                .setTitleTextColor(R.color.titleText)\n                .setDescriptionTextColor(R.color.descriptionText)\n                .setNegativeBtnText(\"Cancel\") // or pass it like android.R.string.cancel\n                .setPositiveBtnBackground(R.color.positiveButton) \n                .setPositiveBtnText(\"Ok\") // or pass it like android.R.string.ok\n                .setNegativeBtnBackground(R.color.negativeButton)\n                .setGifResource(R.drawable.gif1)   //Pass your Gif here\n                .isCancellable(true)\n                .OnPositiveClicked(new FancyGifDialogListener() {\n                    @Override\n                    public void OnClick() {\n                        Toast.makeText(MainActivity.this,\"Ok\",Toast.LENGTH_SHORT).show();\n                    }\n                })\n                .OnNegativeClicked(new FancyGifDialogListener() {\n                    @Override\n                    public void OnClick() {\n                        Toast.makeText(MainActivity.this,\"Cancel\",Toast.LENGTH_SHORT).show();\n                    }\n                })\n                .build();\n```\n\nDialog with one button:\n\n``` java\nnew FancyGifDialog.Builder(this)\n                .setTitle(\"Granny eating chocolate dialog box\")\n                .setMessage(\"This is a granny eating chocolate dialog box. This library is used to help you easily create fancy gify dialog.\")\n                .setTitleTextColor(R.color.titleText)\n                .setDescriptionTextColor(R.color.descriptionText)\n                .setPositiveBtnText(\"Ok\")\n                .setPositiveBtnBackground(R.color.positiveButton)\n                .setGifResource(R.drawable.gif1)   //Pass your Gif here\n                .isCancellable(true)\n                .OnPositiveClicked(new FancyGifDialogListener() {\n                    @Override\n                    public void OnClick() {\n                        Toast.makeText(MainActivity.this,\"Ok\",Toast.LENGTH_SHORT).show();\n                    }\n                })\n                .build();\n```\n\n## Screenshots\n\n**Please click the image below to enlarge.**\n\n\n\u003cimg src=\"https://github.com/Shashank02051997/FancyGifDialog-Android/blob/master/Screenshot/20180106_215855.gif\" height=\"420\" width=\"240\" hspace=\"20\"\u003e\u003cimg src=\"https://github.com/Shashank02051997/FancyGifDialog-Android/blob/master/Screenshot/20180106_220303.gif\" height=\"420\" width=\"240\" hspace=\"20\"\u003e\u003cimg src=\"https://github.com/Shashank02051997/FancyGifDialog-Android/blob/master/Screenshot/20180106_220829.gif\" height=\"420\" width=\"240\"\u003e\n\n\u003cimg src=\"https://github.com/Shashank02051997/FancyGifDialog-Android/blob/master/Screenshot/20180106_221054.gif\" height=\"420\" width=\"240\" hspace=\"20\"\u003e\u003cimg src=\"https://github.com/Shashank02051997/FancyGifDialog-Android/blob/master/Screenshot/20180106_221227.gif\" height=\"420\" width=\"240\" hspace=\"20\"\u003e\u003cimg src=\"https://github.com/Shashank02051997/FancyGifDialog-Android/blob/master/Screenshot/20180106_221357.gif\" height=\"420\" width=\"240\"\u003e\n\n\u003cimg src=\"https://github.com/Shashank02051997/FancyGifDialog-Android/blob/master/Screenshot/Screenshot_2018-01-07-10-24-37.png\" height=\"420\" width=\"240\" hspace=\"20\"\u003e\u003cimg src=\"https://github.com/Shashank02051997/FancyGifDialog-Android/blob/master/Screenshot/Screenshot_2018-01-07-10-25-07.png\" height=\"420\" width=\"240\" hspace=\"20\"\u003e\u003cimg src=\"https://github.com/Shashank02051997/FancyGifDialog-Android/blob/master/Screenshot/Screenshot_2018-01-07-10-25-26.png\" height=\"420\" width=\"240\"\u003e\n\n## Dependencies\n\nThis project use this libraries ~ Thanks to them.\n\n  [android-gif-drawable](https://github.com/koral--/android-gif-drawable)\n  \n## Contributing\n\nPlease fork this repository and contribute back using\n[pull requests](https://github.com/Shashank02051997/FancyGifDialog-Android/pulls).\n\nAny contributions, large or small, major features, bug fixes, are welcomed and appreciated\nbut will be thoroughly reviewed .\n\n### Contact - Let's become friend\n- [Twitter](https://twitter.com/shashank020597)\n- [Github](https://github.com/Shashank02051997)\n- [Linkedin](https://www.linkedin.com/in/shashank-singhal-a87729b5/)\n- [Facebook](https://www.facebook.com/shashanksinghal02)\n\n## Donation\nIf this project help you reduce time to develop, you can give me a cup of coffee :)\n\n\u003ca href=\"https://www.buymeacoffee.com/mXUuDW7\" target=\"_blank\"\u003e\u003cimg src=\"https://bmc-cdn.nyc3.digitaloceanspaces.com/BMC-button-images/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: auto !important;width: auto !important;\" \u003e\u003c/a\u003e\n\n## License\n\n* [Apache Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)\n\n```\nCopyright 2018 Shashank Singhal\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshashank02051997%2Ffancygifdialog-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshashank02051997%2Ffancygifdialog-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshashank02051997%2Ffancygifdialog-android/lists"}