{"id":13642256,"url":"https://github.com/michaelye/EasyDialog","last_synced_at":"2025-04-20T16:31:15.603Z","repository":{"id":30681197,"uuid":"34237068","full_name":"michaelye/EasyDialog","owner":"michaelye","description":"A lightweight, flexible tip dialog in Android","archived":false,"fork":false,"pushed_at":"2017-08-16T04:23:43.000Z","size":2425,"stargazers_count":705,"open_issues_count":24,"forks_count":191,"subscribers_count":23,"default_branch":"master","last_synced_at":"2024-08-03T01:25:59.063Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michaelye.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":"2015-04-20T04:04:49.000Z","updated_at":"2024-04-01T09:20:49.000Z","dependencies_parsed_at":"2022-09-26T21:41:19.353Z","dependency_job_id":null,"html_url":"https://github.com/michaelye/EasyDialog","commit_stats":null,"previous_names":["michaelye/easydialogdemo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelye%2FEasyDialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelye%2FEasyDialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelye%2FEasyDialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelye%2FEasyDialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaelye","download_url":"https://codeload.github.com/michaelye/EasyDialog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223832901,"owners_count":17210741,"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":[],"created_at":"2024-08-02T01:01:29.056Z","updated_at":"2025-04-20T16:31:15.597Z","avatar_url":"https://github.com/michaelye.png","language":"Java","readme":"# EasyDialog\n## A lightweight, flexible tip dialog in Android\n\nDemo can be download in GooglePlay\n\n\n\u003ca href=\"https://play.google.com/store/apps/details?id=com.michael.easydialogdemo\"\u003e\n  \u003cimg alt=\"Android app on Google Play\"\n       src=\"google-play-badge.png\" /\u003e\n\u003c/a\u003e\n\n\n![](demo.gif)\n\n\n\nA lightweight, flexible tip dialog in Android.You can custom the dialog style easily，set the TipView location, background color,animations,just only one line code!!!\nThis Project and Demo is open source in github.\n\n###Special Thanks\u003cbr/\u003e\nFeature \"Added left and right gravity\" was contributed by [akihiro0228](https://github.com/akihiro0228)\n\nIssue \"The triangle's right margin is not suitable on low density screens\" was contributed by [vigilancer](https://github.com/vigilancer)\n\n\n## How to use\n\n```groovy\ndependencies {\n  compile 'com.github.michaelye.easydialog:easydialog:1.4'\n}\n```\n\n\u003cbr/\u003e\n\n```java\n     View view = this.getLayoutInflater().inflate(R.layout.layout_tip_content_horizontal, null);\n     new EasyDialog(MainActivity.this)\n     // .setLayoutResourceId(R.layout.layout_tip_content_horizontal)//layout resource id\n        .setLayout(view)\n        .setBackgroundColor(MainActivity.this.getResources().getColor(R.color.background_color_black))\n     // .setLocation(new location[])//point in screen\n        .setLocationByAttachedView(btnTopLeft)\n        .setGravity(EasyDialog.GRAVITY_BOTTOM)\n        .setAnimationTranslationShow(EasyDialog.DIRECTION_X, 1000, -600, 100, -50, 50, 0)\n        .setAnimationAlphaShow(1000, 0.3f, 1.0f)\n        .setAnimationTranslationDismiss(EasyDialog.DIRECTION_X, 500, -50, 800)\n        .setAnimationAlphaDismiss(500, 1.0f, 0.0f)\n        .setTouchOutsideDismiss(true)\n        .setMatchParent(true)\n        .setMarginLeftAndRight(24, 24)\n        .setOutsideColor(MainActivity.this.getResources().getColor(R.color.outside_color_trans))\n        .show();\n```\n\n## License\n\nUse and distribution of licensed under the Apache2.0 license. See the [LICENSE](https://github.com/michaelye/EasyDialog/blob/master/LICENSE) file for full text.\n\n\n\n\n\n","funding_links":[],"categories":["对话框","Java"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelye%2FEasyDialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelye%2FEasyDialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelye%2FEasyDialog/lists"}