Nice dialog,sweet Alert Dialog import android Studio

Source: Internet
Author: User

The system comes with the dialog is really ugly to unbearable. So found a better third-party dialog.

The GitHub address is as follows: Https://

The usual, or look first!

Here's how to import Android Studio

Start by cloning the project on GitHub to local. Then put the item in your app's root directory

First, modify Settings.gradle add include,

The following changes are followed:

Include ' Sweet-alert-dialog:library '

Second, modify the Build.gradle (under your main project)

Added under dependencies in Build.gradle

Compile project (': Sweet-alert-dialog:library ')

Three, will sweet-alert-dialog under the Build.gradle in the

Compilesdkversion and buildtoolsversion are changed to your local address and will not find the constant version and group deleted

Four, start using it!

If you don't have git, you can download it here.

Copyright NOTICE: This article is for bloggers original article, welcome to indicate the source after reprint.

Nice dialog,sweet Alert Dialog import android Studio

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.