Code Monkey home page Code Monkey logo

dialogui's Introduction

DialogUi

关于toast、等待框、对话框、选择框、下拉刷新等工具的封装。

在代码中build中集成compile 'com.liujc.util:jcdialog:1.0.1'.

主界面

image

Toast 工具   主要设置toast的显示位置及自定义toast的显示布局

在使用ToastUitl的时候需要调用DialogUtils.init(getApplicationContext())传入上下文;

  1. 顶部toast ToastUitl.showToastTop("顶部的Toast");
  2. 中部toast ToastUitl.showToastCenter("中部的Toast");
  3. 底部toast ToastUitl.showToast("默认的Toast");
  4. 显示带图片的toast ToastUitl.showToastWithImg("image Toast",R.drawable.ic_success); image
  5. 自定义布局和显示位置的toast ToastUitl.showToastLayout(toastLayout, gravity)

对话框工具

image image image

  1. popuwindow弹出框
  2. 各种等待框
  3. 各种对话框
  4. 各种列表选择框
  5. 时间选择框

image image

  1. 地址联动选择框

image image

内嵌加载等待框

支付键盘

一般键盘

image

支付键盘

image

dialogui's People

Contributors

liujinchao avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.