{"id":24778223,"url":"https://github.com/marcoscgdev/easyabout","last_synced_at":"2025-08-01T14:07:11.838Z","repository":{"id":144174234,"uuid":"124104051","full_name":"marcoscgdev/EasyAbout","owner":"marcoscgdev","description":"A fully material-designed about fragment for your application.","archived":false,"fork":false,"pushed_at":"2019-01-21T15:15:26.000Z","size":521,"stargazers_count":44,"open_issues_count":0,"forks_count":9,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-31T15:38:30.651Z","etag":null,"topics":["about","android","design","easy","fragment","free","library","material","material-design","materialdesign","opensource"],"latest_commit_sha":null,"homepage":"https://github.com/marcoscgdev/EasyAbout","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcoscgdev.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-03-06T16:10:50.000Z","updated_at":"2024-08-27T14:43:40.000Z","dependencies_parsed_at":"2023-07-04T15:46:57.636Z","dependency_job_id":null,"html_url":"https://github.com/marcoscgdev/EasyAbout","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoscgdev%2FEasyAbout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoscgdev%2FEasyAbout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoscgdev%2FEasyAbout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoscgdev%2FEasyAbout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcoscgdev","download_url":"https://codeload.github.com/marcoscgdev/EasyAbout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236148736,"owners_count":19102726,"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":["about","android","design","easy","fragment","free","library","material","material-design","materialdesign","opensource"],"created_at":"2025-01-29T08:18:13.100Z","updated_at":"2025-01-29T08:18:13.814Z","avatar_url":"https://github.com/marcoscgdev.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EasyAbout\nA fully material-designed about fragment for your application.\n\n---\n\n## Releases:\n\n#### Current release: 1.0.6.\n\nYou can see all the library releases [here](https://github.com/marcoscgdev/EasyAbout/releases).\n\n---\n\n## Demo:\n\nYou can download the **sample apk** [here](https://github.com/marcoscgdev/Licenser/releases/download/1.0.2/app-debug.apk).\n\n| Default | Default Dark | Colored |\n|----------|----------|----------|\n| ![Sample App][1] | ![Sample App][2] | ![Sample App][3] |\n\n---\n\n## Usage:\n\n### Adding the depencency\n\nAdd this to your root *build.gradle* file:\n\n```groove\nallprojects {\n    repositories {\n        ...\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n\nNow add the dependency to your app build.gradle file:\n\n```groove\nimplementation 'com.github.marcoscgdev:EasyAbout:1.0.6'\n```\n\n### Create the fragment\n\nYour about fragment **must extend** from _EasyAboutFragment_\n\n```java\npublic class AboutFragment extends EasyAboutFragment {\n\n    @Override\n    protected void configureFragment(Context context, View rootView, Bundle savedInstanceState) {\n        // add cards here\n    }\n}\n```\n\n### Create a card\n\n**Note: all parameters are optional**\n\n```java\nAboutCard aboutCard = new AboutCard.Builder(context)\n        .setTitle(\"Card title\") // It can also be passed as a string resource\n        .setTitleColorRes(R.color.colorAccent) // You can also use setTitleColor(int color);\n        .addItem(personAboutItem)\n        .addItem(normalAboutItem)\n        .build();\n```\n\n### Create a item\n\n**Note: all parameters are optional and common for all item types**\n\n#### Header item\n\n![Header item](https://raw.githubusercontent.com/marcoscgdev/EasyAbout/master/screenshots/header_item.png)\n\n```java\nHeaderAboutItem headerAboutItem = new HeaderAboutItem.Builder(context)\n        .setTitle(R.string.app_name) // It can also be passed as a string value\n        .setSubtitle(BuildConfig.VERSION_NAME) // It can also be passed as a string resource\n        .setIcon(R.mipmap.ic_launcher) // It can also be passed as a drawable\n        .build();\n```\n\n#### Normal item\n\n![Normal item](https://raw.githubusercontent.com/marcoscgdev/EasyAbout/master/screenshots/normal_item.png)\n\n```java\nNormalAboutItem normalAboutItem = new NormalAboutItem.Builder(context)\n        .setTitle(\"Item title\") // It can also be passed as a string resource\n        .setSubtitle(\"Item subtitle\") // It can also be passed as a string resource\n        .setIcon(R.drawable.ic_info_outline_black_24dp) // It can also be passed as a drawable\n        .setOnClickListener(new View.OnClickListener() {\n            @Override\n            public void onClick(View view) {\n                // Your click action here\n            }\n        })\n        .setOnLongClickListener(new View.OnLongClickListener() {\n            @Override\n            public boolean onLongClick(View view) {\n                // Your long click action here\n                return false;\n            }\n        })\n        .build();\n```\n\n#### Person item\n\n![Person item](https://raw.githubusercontent.com/marcoscgdev/EasyAbout/master/screenshots/person_item.png)\n\n```java\nPersonAboutItem personAboutItem = new PersonAboutItem.Builder(context)\n        .setTitle(\"Your name here\") // It can also be passed as a string resource\n        .setSubtitle(\"Your info here\") // It can also be passed as a string resource\n        .setIcon(R.drawable.user) // It can also be passed as a drawable\n        .build();\n```\n\n### Add cards to the fragment\n\nYou can add cards with the _addCard(AboutCard aboutCard);_ method (inside the configureFragment function of the fragment)\n\n```java\nAboutCard aboutCard = new AboutCard.Builder(context)\n        .setTitle(\"Card title\") // It can also be passed as a string resource\n        .setTitleColorRes(R.color.colorAccent) // You can also use setTitleColor(int color);\n        .addItem(personAboutItem)\n        .addItem(normalAboutItem)\n        .build();\n        \naddCard(aboutCard);\naddCard(anotherCard);\naddCard(contactCard);\n```\n\n### Sample fragment\n\n```java\npublic class AboutFragment extends EasyAboutFragment {\n\n    @Override\n    protected void configureFragment(final Context context, View rootView, Bundle savedInstanceState) {\n        addCard(new AboutCard.Builder(context)\n                .addItem(AboutItemBuilder.generateAppTitleItem(context)\n                        .setSubtitle(\"by @MarcosCGdev.\"))\n                .addItem(AboutItemBuilder.generateAppVersionItem(context, true)\n                        .setIcon(R.drawable.ic_info_outline_black_24dp))\n                .addItem(new NormalAboutItem.Builder(context)\n                        .setTitle(\"Licenses\")\n                        .setIcon(R.drawable.ic_description_black_24dp)\n                        .setOnClickListener(new View.OnClickListener() {\n                            @Override\n                            public void onClick(View view) {\n                                DemoUtils.showLicensesDialog(context);\n                            }\n                        })\n                        .build())\n                .build());\n                \n        addCard(new AboutCard.Builder(context)\n                .setTitle(\"Support\")\n                .addItem(AboutItemBuilder.generatePlayStoreItem(context)\n                        .setTitle(\"Rate application\")\n                        .setIcon(R.drawable.ic_star_black_24dp))\n                .addItem(AboutItemBuilder.generateLinkItem(context, \"https://github.com/marcoscgdev/EasyAbout/issues/new\")\n                        .setTitle(\"Report bugs\")\n                        .setIcon(R.drawable.ic_bug_report_black_24dp))\n                .addItem(new NormalAboutItem.Builder(context)\n                        .setTitle(\"Clickable item\")\n                        .setSubtitle(\"This item has onClick and onLongClick listener.\")\n                        .setOnClickListener(new View.OnClickListener() {\n                            @Override\n                            public void onClick(View view) {\n                                Toast.makeText(context, \"onClick\", Toast.LENGTH_SHORT).show();\n                            }\n                        })\n                        .setOnLongClickListener(new View.OnLongClickListener() {\n                            @Override\n                            public boolean onLongClick(View view) {\n                                Toast.makeText(context, \"onLongClick\", Toast.LENGTH_SHORT).show();\n                                return false;\n                            }\n                        })\n                        .setIcon(R.drawable.ic_mouse_black_24dp)\n                        .build())\n                .build());\n    }\n}\n```\n\n### Customize card color\n\nSimply add this to your app theme. Replace _@color/colorPrimary_ with your desired color.\n\n```xml\n\u003citem name=\"aboutCardBackground\"\u003e@color/colorPrimary\u003c/item\u003e\n```\n\n---\n\u003eSee the *sample project* to clarify any queries you may have.\n\n---\n\n## License\n\n```\nMIT License\n\nCopyright (c) 2018 Marcos Calvo García\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n\n[1]: https://raw.githubusercontent.com/marcoscgdev/EasyAbout/master/screenshots/1.png\n[2]: https://raw.githubusercontent.com/marcoscgdev/EasyAbout/master/screenshots/2.png\n[3]: https://raw.githubusercontent.com/marcoscgdev/EasyAbout/master/screenshots/3.png\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcoscgdev%2Feasyabout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcoscgdev%2Feasyabout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcoscgdev%2Feasyabout/lists"}