Skip to content

Commit

Permalink
ReadMe Creation #1 Part 3
Browse files Browse the repository at this point in the history
*Create animated screenshot.
*Update screenshots.
  • Loading branch information
rayliverified committed Feb 11, 2018
1 parent 478992d commit 1cf7b2e
Show file tree
Hide file tree
Showing 15 changed files with 27 additions and 25 deletions.
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![GitHub release](https://img.shields.io/github/release/searchy2/CustomPermissionsDialogue.svg?style=flat-square)](https://github.com/searchy2/CustomPermissionsDialogue/releases) [![GitHub Release Date](https://img.shields.io/github/release-date/searchy2/CustomPermissionsDialogue.svg?style=flat-square)](https://github.com/searchy2/CustomPermissionsDialogue) [![Libraries.io for GitHub](https://img.shields.io/librariesio/github/searchy2/CustomPermissionsDialogue.svg?style=flat-square)](https://github.com/searchy2/CustomPermissionsDialogue) [![GitHub issues](https://img.shields.io/github/issues/searchy2/CustomPermissionsDialogue.svg?style=flat-square)](https://github.com/searchy2/CustomPermissionsDialogue) [![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/badges/shields.svg?style=flat-square)](https://github.com/searchy2/CustomPermissionsDialogue) [![API](https://img.shields.io/badge/API-15%2B-blue.svg?style=flat-square)](https://github.com/searchy2/CustomPermissionsDialogue) [![GitHub top language](https://img.shields.io/github/languages/top/searchy2/CustomPermissionsDialogue.svg?style=flat-square)](https://github.com/searchy2/CustomPermissionsDialogue)
[![GitHub release](https://img.shields.io/github/release/searchy2/CustomPermissionsDialogue.svg?style=flat-square)](https://github.com/searchy2/CustomPermissionsDialogue/releases) [![GitHub Release Date](https://img.shields.io/github/release-date/searchy2/CustomPermissionsDialogue.svg?style=flat-square)](https://github.com/searchy2/CustomPermissionsDialogue) [![Libraries.io for GitHub](https://img.shields.io/librariesio/github/searchy2/CustomPermissionsDialogue.svg?style=flat-square)](https://github.com/searchy2/CustomPermissionsDialogue) [![GitHub issues](https://img.shields.io/github/issues/searchy2/CustomPermissionsDialogue.svg?style=flat-square)](https://github.com/searchy2/CustomPermissionsDialogue) [![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/searchy2/CustomPermissionsDialogue.svg?style=flat-square)](https://github.com/searchy2/CustomPermissionsDialogue) [![API](https://img.shields.io/badge/API-15%2B-blue.svg?style=flat-square)](https://github.com/searchy2/CustomPermissionsDialogue) [![GitHub top language](https://img.shields.io/github/languages/top/searchy2/CustomPermissionsDialogue.svg?style=flat-square)](https://github.com/searchy2/CustomPermissionsDialogue)
# Custom Permissions Dialogue

![Screenshots](screenshots/Custom-Permissions-Dialogue-Cover_1280x.gif)
Expand All @@ -7,6 +7,8 @@ Custom Permissions Dialogue is the only permissions library that supports ALL pe

Custom Permissions Dialogue is also the FIRST permissions library with a graphical interface. Not only does Custom Permissions Dialogue offer the most advanced functionality, it looks fantastic while doing so!

![Screenshots](screenshots/Custom-Permissions-Dialogue-Screenshot.gif)

This library is part of the Custom UI collection of beautiful, minimalistic, and customizable Android UI components.

# Gradle Dependency
Expand All @@ -25,7 +27,7 @@ implementation 'com.github.searchy2:CustomPermissionsDialogue:latest-version'

Custom Permissions Dialogue uses the Builder format to initialize a popup permissions dialogue programmatically. To request a single permissions, just drag and drop the following code into your project. It's that simple!

![Screenshots](screenshots/Custom-Permissions-Dialogue-Simple_540x.jpg)
![Screenshots](screenshots/Custom-Permissions-Dialogue-Simple_540x.png)

```java
PermissionsDialogue.Builder permissionsDialogue = new PermissionsDialogue.Builder(getActivity())
Expand Down Expand Up @@ -100,7 +102,7 @@ Custom Permissions Dialogue supports extensive customization options to fit your

**All - Showcases all Custom Permissions Dialogue permissions.**

![Screenshots](screenshots/Custom-Permissions-Dialogue-All_540x.jpg)
![Screenshots](screenshots/Custom-Permissions-Dialogue-All_540x.png)

```java
PermissionsDialogue.Builder permissionsDialogue = new PermissionsDialogue.Builder(getActivity())
Expand All @@ -127,7 +129,7 @@ permissionsDialogue.show();

**Required - Displays all required permissions for the user to grant.**

![Screenshots](screenshots/Custom-Permissions-Dialogue-Required_540x.jpg)
![Screenshots](screenshots/Custom-Permissions-Dialogue-Required_540x.png)

```java
PermissionsDialogue.Builder permissionsDialogue = new PermissionsDialogue.Builder(getActivity())
Expand All @@ -149,7 +151,7 @@ permissionsDialogue.show();

**Optional - Optional permissions allows user to selectively enable permissions.**

![Screenshots](screenshots/Custom-Permissions-Dialogue-Optional_540x.jpg)
![Screenshots](screenshots/Custom-Permissions-Dialogue-Optional_540x.png)

```java
PermissionsDialogue.Builder permissionsDialogue = new PermissionsDialogue.Builder(getActivity())
Expand All @@ -173,7 +175,7 @@ permissionsDialogue.show();

**Single - Requests a single permission from the user.**

![Screenshots](screenshots/Custom-Permissions-Dialogue-Single_540x.jpg)
![Screenshots](screenshots/Custom-Permissions-Dialogue-Simple_540x.png)

```java
PermissionsDialogue.Builder permissionsDialogue = new PermissionsDialogue.Builder(getActivity())
Expand All @@ -192,7 +194,7 @@ permissionsDialogue.show();

**Combined - A single permission request combined with other optional permissions that the user can grant.**

![Screenshots](screenshots/Custom-Permissions-Dialogue-Combined_540x.jpg)
![Screenshots](screenshots/Custom-Permissions-Dialogue-Combined_540x.png)

```java
PermissionsDialogue.Builder permissionsDialogue = new PermissionsDialogue.Builder(getActivity())
Expand All @@ -215,7 +217,7 @@ permissionsDialogue.show();

**Uncancelable - Set Cancelable to false to force user to grant permissions before proceeding.**

![Screenshots](screenshots/Custom-Permissions-Dialogue-Single_540x.jpg)
![Screenshots](screenshots/Custom-Permissions-Dialogue-Simple_540x.png)

```java
PermissionsDialogue.Builder permissionsDialogue = new PermissionsDialogue.Builder(getActivity())
Expand Down Expand Up @@ -314,11 +316,11 @@ If you've fixed a bug or have a feature you've added, just create a pull request
# ★ Acknowledgements ★
**♥ Developer ♥**

Ray Li
[Ray Li](https://rayliverified.com)

**♥ Designer ♥**

Ray Li
[Ray Li](https://rayliverified.com)

# ★ Get in Touch ★
<a href="mailto:[email protected]">
Expand Down
27 changes: 15 additions & 12 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#008af9</color>
<color name="colorPrimaryDark">#303F9F</color>
<color name="colorPrimaryLight">#4dafff</color>
<color name="colorAccent">#cc3332</color>

<!-- Basic Colors -->
<color name="white">#FFFFFF</color>
<color name="white_pressed">#c8ffffff</color>
<color name="transparent">#00FFFFFF</color>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#008af9</color>
<color name="colorPrimaryDark">#303F9F</color>
<color name="colorPrimaryLight">#4dafff</color>
<color name="colorAccent">#cc3332</color>

<!-- Basic Colors -->
<color name="white">#FFFFFF</color>
<color name="white_pressed">#c8ffffff</color>
<color name="transparent">#00FFFFFF</color>

<color name="textPrimary">#2D2D2D</color>
<color name="textSecondary">#8C8C8C</color>
</resources>
3 changes: 0 additions & 3 deletions custompermissionsdialogue/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="textPrimary">#2D2D2D</color>
<color name="textSecondary">#8C8C8C</color>

<color name="button_inactive">#757575</color>
<color name="button_pressed">#008af9</color>

Expand Down
Binary file removed screenshots/Custom-Permissions-Dialogue-All_540x.jpg
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.

0 comments on commit 1cf7b2e

Please sign in to comment.