Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Dialog 简单封装工具类,让你随心所欲使用 系统dialog

Notifications You must be signed in to change notification settings

otwayz/EasyDialog

Repository files navigation

The dialog is supported wrap content and match parent

even the content width to screen width ratio.

the same to height.

you can use like

 easyDialog = new EasyDialog.Builder(this)
 .setContentViewId(R.layout.dialog_ugc_finish_read)
 .setWidth(-2)
 .setHeight(EasyDialog.WRAP_CONTENT)
 .setBackgroundColor(Color.CYAN)
 .setOnClickListener(R.id.id_iv_close, this)
 .setOnClickListener(R.id.id_btn_checkin, this)
 .show()

support click , long click and check event.

you can design your self if you like.

have fun. Thanks!

About

Dialog 简单封装工具类,让你随心所欲使用 系统dialog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /