Skip to content

Commit

Permalink
read
Browse files Browse the repository at this point in the history
=
  • Loading branch information
gzeinnumer committed Aug 20, 2021
1 parent 343fc4a commit 459b60e
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 22 deletions.
26 changes: 22 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</h1>

<p align="center">
<a><img src="https://img.shields.io/badge/Version-2.0.0-brightgreen.svg?style=flat"></a>
<a><img src="https://img.shields.io/badge/Version-2.0.1-brightgreen.svg?style=flat"></a>
<a><img src="https://img.shields.io/badge/ID-gzeinnumer-blue.svg?style=flat"></a>
<a><img src="https://img.shields.io/badge/Java-Suport-green?logo=java&style=flat"></a>
<a><img src="https://img.shields.io/badge/Kotlin-Suport-green?logo=kotlin&style=flat"></a>
Expand Down Expand Up @@ -44,9 +44,15 @@ dependencies {
//required
implementation 'com.google.android.material:material:1.2.1'
implementation 'com.github.gzeinnumer:EasyDialogFragment:2.0.0'
implementation 'com.github.gzeinnumer:DialogAndroid:3.0.0'
implementation 'com.github.gzeinnumer:SimpleMaterialStyle:2.0.0'
implementation 'com.github.gzeinnumer:DialogAndroid:last-vesion'
//check on https://github.com/gzeinnumer/DialogAndroid
implementation 'com.github.gzeinnumer:EasyDialogFragment:last-vesion'
//check on https://github.com/gzeinnumer/EasyDialogFragment
implementation 'com.github.gzeinnumer:SimpleMaterialStyle:last-vesion'
//check on https://github.com/gzeinnumer/SimpleMaterialStyle
}
```

Expand All @@ -60,6 +66,16 @@ dependencies {
---
# Usage

Add This Line to `res/color.xml`. **Important**
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#6200EE</color>
<color name="colorPrimaryDark">#3700B3</color>
<color name="colorAccent">#03DAC5</color>
</resources>
```

### Permission
```xml
<?xml version="1.0" encoding="utf-8"?>
Expand Down Expand Up @@ -187,6 +203,8 @@ You can change mesage of the `Dialog Tagging`.
- First Release
- **2.0.0**
- Support SDK 16
- **2.0.1**
- Bug Fixing

---
# Contribution
Expand Down
3 changes: 3 additions & 0 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@
<color name="teal_700">#FF018786</color>
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>
<color name="colorPrimary">@color/purple_500</color>
<color name="colorPrimaryDark">@color/purple_700</color>
<color name="colorAccent">@color/teal_200</color>
</resources>
4 changes: 2 additions & 2 deletions nr/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ dependencies {
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'

implementation 'com.github.gzeinnumer:EasyDialogFragment:2.0.0'
implementation 'com.github.gzeinnumer:DialogAndroid:3.0.0'
implementation 'com.github.gzeinnumer:SimpleMaterialStyle:2.0.0'
implementation 'com.github.gzeinnumer:DialogAndroid:3.2.7'
implementation 'com.github.gzeinnumer:SimpleMaterialStyle:2.2.3-alpha2'
}
Binary file removed nr/src/main/res/drawable/nfc.png
Binary file not shown.
10 changes: 3 additions & 7 deletions nr/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="purple_200">#FFBB86FC</color>
<color name="purple_500">#FF6200EE</color>
<color name="purple_700">#FF3700B3</color>
<color name="teal_200">#FF03DAC5</color>
<color name="teal_700">#FF018786</color>
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>
<color name="colorPrimary">?attr/colorPrimary</color>
<color name="colorPrimaryDark">?attr/colorPrimaryDark</color>
<color name="colorAccent">?attr/colorAccent</color>
</resources>
15 changes: 6 additions & 9 deletions nr/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@
<!-- Base application theme. -->
<style name="Theme.MyLibNFCReader" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_500</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
<item name="colorOnPrimary">@color/white</item>
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryVariant">@color/colorPrimaryDark</item>
<item name="colorOnPrimary">@color/colorAccent</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_700</item>
<item name="colorOnSecondary">@color/black</item>
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
<item name="colorSecondary">@color/colorPrimary</item>
<item name="colorSecondaryVariant">@color/colorPrimaryDark</item>
<item name="colorOnSecondary">@color/colorAccent</item>
</style>
</resources>

0 comments on commit 459b60e

Please sign in to comment.