|
8 | 8 | </p>
|
9 | 9 |
|
10 | 10 | <p align="center">
|
11 |
| -📻 Light library that is beautiful custom radio button with image functionality. You can easily add image to radio button. Integration is very easy. |
| 11 | +📻 <b>ImageRadioButtonAndroid</b> is a light library for custom radio button with image functionality. You can easily add image to radio button. Integration is very easy. |
12 | 12 | </p>
|
13 | 13 |
|
14 | 14 | # Setup
|
15 | 15 |
|
16 |
| -Add it in your root **build.gradle** at the end of repositories: |
17 |
| -```groovy |
18 |
| -allprojects { |
| 16 | +Add the maven library bucket to the `dependencyResolutionManagement.repositories` block in `settings.gradle.kts` file as follows: |
| 17 | +```kotlin |
| 18 | +dependencyResolutionManagement { |
| 19 | + ... |
19 | 20 | repositories {
|
20 |
| - maven { url 'https://jitpack.io' } |
| 21 | + ... |
| 22 | + maven("https://jitpack.io") |
21 | 23 | }
|
22 | 24 | }
|
23 |
| -``` |
| 25 | +``` |
24 | 26 |
|
25 |
| -Include below dependency in build.gradle of application and sync it: |
26 |
| -```groovy |
27 |
| -implementation 'com.github.raheemadamboev:image-radio-button-android:1.0.7' |
| 27 | +Install the library to the project in desired module's `build.gradle.kts` file. Replace `<current_version>` with the actual version: |
| 28 | +```kotlin |
| 29 | +implementation("com.github.raheemadamboev:image-radio-button-android:<current_version>") |
28 | 30 | ```
|
| 31 | + |
29 | 32 | # Implementation
|
30 | 33 |
|
31 | 34 | Add **GravityRadioGroup** to your XML layout:
|
@@ -74,20 +77,20 @@ _If you don't want to set tint to ImageView of RadioButton, just don't set_ `app
|
74 | 77 | # Demo
|
75 | 78 |
|
76 | 79 | <p align="center">
|
77 |
| - <img width="440" height="456" src="https://github.com/raheemadamboev/image-radio-button-android/blob/master/background.gif" /> |
| 80 | + <img width="440" height="456" src="https://github.com/raheemadamboev/image-radio-button-android/blob/master/extra/banner.gif" /> |
78 | 81 | </p>
|
79 | 82 |
|
80 | 83 | Programming pictures are placed with the help of this library in this demo application. When radio button is clicked, its text gets shown via Toast.
|
81 | 84 |
|
82 |
| -<a href="https://github.com/raheemadamboev/image-radio-button-android/blob/master/app-debug.apk">Download demo</a> |
| 85 | +<a href="https://github.com/raheemadamboev/image-radio-button-android/blob/master/extra/app-debug.apk">Download demo</a> |
83 | 86 |
|
84 | 87 | # Projects using this library
|
85 | 88 |
|
86 |
| -**GoTest** 150 000+ downloads in <a href="https://play.google.com/store/apps/details?id=xyz.teamgravity.gotest">Google Play Store</a> |
| 89 | +**GoTest** 250 000+ downloads in <a href="https://play.google.com/store/apps/details?id=xyz.teamgravity.gotest">Google Play Store</a> |
87 | 90 |
|
88 |
| -**Buxgalteriya schyotlar rejasi** 20 000+ downloads in <a href="https://play.google.com/store/apps/details?id=xyz.teamgravity.uzbekistanaccountingcode">Google Play Store</a> |
| 91 | +**Buxgalteriya schyotlar rejasi** 50 000+ downloads in <a href="https://play.google.com/store/apps/details?id=xyz.teamgravity.uzbekistanaccountingcode">Google Play Store</a> |
89 | 92 |
|
90 |
| -**Irregular Verbs** 20 000+ downloads in <a href="https://play.google.com/store/apps/details?id=xyz.teamgravity.irregularverbs">Google Play Store</a> |
| 93 | +**Irregular Verbs** 25 000+ downloads in <a href="https://play.google.com/store/apps/details?id=xyz.teamgravity.irregularverbs">Google Play Store</a> |
91 | 94 |
|
92 | 95 | # License
|
93 | 96 |
|
|
0 commit comments