Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscgdev committed Aug 20, 2018
2 parents 519f3a8 + 86df380 commit 3750ac6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ _Click [here](https://github.com/marcoscgdev/Licenser/blob/master/README_KOTLIN.

## Releases:

#### Current release: 1.0.2.
#### Current release: 1.0.3.

You can see all the library releases [here](https://github.com/marcoscgdev/Licenser/releases).

Expand Down Expand Up @@ -38,7 +38,7 @@ allprojects {
Now add the dependency to your app *build.gradle* file:

```groovy
compile 'com.github.marcoscgdev:Licenser:1.0.2'
implementation 'com.github.marcoscgdev:Licenser:1.0.3'
```

#### Step: 2 - creating a dialog
Expand All @@ -49,6 +49,7 @@ compile 'com.github.marcoscgdev:Licenser:1.0.2'
new LicenserDialog(this)
.setTitle("Licenses")
.setCustomNoticeTitle("Notices for files:")
.setBackgroundColor(Color.RED) // Optional
.setLibrary(new Library("Android Support Libraries",
"https://developer.android.com/topic/libraries/support-library/index.html",
License.APACHE))
Expand All @@ -67,6 +68,13 @@ new LicenserDialog(this)
.show();
```

**NEW:** You can set a custom AlertDialog theme.

```
new LicenserDialog(this, R.style.DialogStyle)
...
```

Library structure:

```java
Expand Down
12 changes: 10 additions & 2 deletions README_KOTLIN.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ _Click [here](https://github.com/marcoscgdev/Licenser/blob/master/README.md) for

## Releases:

#### Current release: 1.0.1.
#### Current release: 1.0.3.

You can see all the library releases [here](https://github.com/marcoscgdev/Licenser/releases).

Expand Down Expand Up @@ -38,7 +38,7 @@ allprojects {
Now add the dependency to your app *build.gradle* file:

```groovy
compile 'com.github.marcoscgdev:Licenser:1.0.1'
implementation 'com.github.marcoscgdev:Licenser:1.0.3'
```

#### Step: 2 - creating a dialog
Expand All @@ -49,6 +49,7 @@ compile 'com.github.marcoscgdev:Licenser:1.0.1'
LicenserDialog(this)
.setTitle("Licenses")
.setCustomNoticeTitle("Notices for files:")
.setBackgroundColor(Color.RED) // Optional
.setLibrary(Library("Android Support Libraries",
"https://developer.android.com/topic/libraries/support-library/index.html",
License.APACHE))
Expand All @@ -66,6 +67,13 @@ LicenserDialog(this)
.show()
```

**NEW:** You can set a custom AlertDialog theme.

```
LicenserDialog(this, R.style.DialogStyle)
...
```

Library structure:

```java
Expand Down

0 comments on commit 3750ac6

Please sign in to comment.