@@ -49,7 +49,7 @@ If this library helps you, please consider supporting my open-source work.
4949## Table of Contents
5050
5151- [ Overview] ( #overview )
52- - [ What is new in v10.1.2 ] ( #what-is-new-in-v1012 )
52+ - [ What is new in v10] ( #what-is-new-in-v10 )
5353- [ Important Android storage reality] ( #important-android-storage-reality )
5454- [ Requirements] ( #requirements )
5555- [ Installation] ( #installation )
@@ -71,7 +71,7 @@ If this library helps you, please consider supporting my open-source work.
7171- [ Handling Android 14+ partial photo/video access] ( #handling-android-14-partial-photovideo-access )
7272- [ Play Store safe integration options] ( #play-store-safe-integration-options )
7373- [ Troubleshooting] ( #troubleshooting )
74- - [ Migration guide from v9.x to v10.1.2 ] ( #migration-guide-from-v9x-to-v1012 )
74+ - [ Migration guide from v9.x to v10.1.3 ] ( #migration-guide-from-v9x-to-v1013 )
7575- [ Security and privacy recommendations] ( #security-and-privacy-recommendations )
7676- [ FAQ] ( #faq )
7777- [ Contributing] ( #contributing )
@@ -105,9 +105,13 @@ dialog.setDialogSelectionListener(files -> {
105105
106106---
107107
108- ## What is new in v10.1.2
108+ ## What is new in v10
109109
110- Version ` 10.1.2 ` focuses on modern Android support, stability, clearer storage behavior, dialog customization, and advanced file filtering.
110+ Version ` 10.X.X ` focuses on modern Android support, stability, clearer storage behavior, dialog customization, and advanced file filtering.
111+
112+ ### New in v10.1.3
113+
114+ - From ` v10.1.3 ` , FilePicker supports checkbox color customization through ` DialogProperties ` .
111115
112116### New in v10.1.2
113117
@@ -198,7 +202,7 @@ Official references:
198202
199203## Installation
200204
201- FilePicker v10.1.1 is available through ** Maven Central** and ** JitPack** .
205+ FilePicker v10.1.3 is available through ** Maven Central** and ** JitPack** .
202206
203207Recommended installation method: ** Maven Central**
204208Alternative installation method: ** JitPack**
@@ -313,15 +317,15 @@ Add the FilePicker dependency inside the `dependencies` block.
313317
314318``` gradle
315319dependencies {
316- implementation "io.github.tutorialsandroid:filepicker:10.1.2 "
320+ implementation "io.github.tutorialsandroid:filepicker:10.1.3 "
317321}
318322```
319323
320324### Kotlin DSL - app/build.gradle.kts
321325
322326``` kotlin
323327dependencies {
324- implementation(" io.github.tutorialsandroid:filepicker:10.1.2 " )
328+ implementation(" io.github.tutorialsandroid:filepicker:10.1.3 " )
325329}
326330```
327331
@@ -479,15 +483,15 @@ Add the dependency inside the `dependencies` block.
479483
480484``` gradle
481485dependencies {
482- implementation "com.github.TutorialsAndroid:FilePicker:v10.1.2 "
486+ implementation "com.github.TutorialsAndroid:FilePicker:v10.1.3 "
483487}
484488```
485489
486490### Kotlin DSL - app/build.gradle.kts
487491
488492``` kotlin
489493dependencies {
490- implementation(" com.github.TutorialsAndroid:FilePicker:v10.1.2 " )
494+ implementation(" com.github.TutorialsAndroid:FilePicker:v10.1.3 " )
491495}
492496```
493497
@@ -526,13 +530,13 @@ android {
526530For production apps, Maven Central is recommended:
527531
528532``` gradle
529- implementation "io.github.tutorialsandroid:filepicker:10.1.2 "
533+ implementation "io.github.tutorialsandroid:filepicker:10.1.3 "
530534```
531535
532536Use JitPack only if you specifically want to fetch the library directly from GitHub:
533537
534538``` gradle
535- implementation "com.github.TutorialsAndroid:FilePicker:v10.1.2 "
539+ implementation "com.github.TutorialsAndroid:FilePicker:v10.1.3 "
536540```
537541
538542---
@@ -578,15 +582,15 @@ Only use the old `allprojects` method if your project is very old and does not h
578582
579583``` gradle
580584dependencies {
581- implementation "io.github.tutorialsandroid:filepicker:10.1.2 "
585+ implementation "io.github.tutorialsandroid:filepicker:10.1.3 "
582586}
583587```
584588
585589### JitPack
586590
587591``` gradle
588592dependencies {
589- implementation "com.github.TutorialsAndroid:FilePicker:v10.1.2 "
593+ implementation "com.github.TutorialsAndroid:FilePicker:v10.1.3 "
590594}
591595```
592596
@@ -924,6 +928,46 @@ FilePickerDialog dialog = new FilePickerDialog(
924928
925929---
926930
931+ ## Customizing checkbox colors
932+
933+ From ` v10.1.3 ` , FilePicker supports checkbox color customization through ` DialogProperties ` .
934+
935+ This is useful when the default checkbox colors do not match your app theme, or when the unchecked checkbox blends into a white/light background.
936+
937+ ``` java
938+ import android.graphics.Color ;
939+
940+ DialogProperties properties = new DialogProperties ();
941+
942+ properties. selection_mode = DialogConfigs . MULTI_MODE ;
943+ properties. selection_type = DialogConfigs . DIR_SELECT ;
944+
945+ // Checked checkbox fill color
946+ properties. checkbox_checked_color = Color . parseColor(" #6750A4" );
947+
948+ // Unchecked checkbox outer/background color
949+ properties. checkbox_unchecked_color = Color . parseColor(" #6750A4" );
950+
951+ // Tick/checkmark color shown when checked
952+ properties. checkbox_checkmark_color = Color . WHITE ;
953+
954+ // Inner color shown when unchecked
955+ properties. checkbox_unchecked_inner_color = Color . parseColor(" #F3E8FF" );
956+
957+ FilePickerDialog dialog = new FilePickerDialog (MainActivity . this , properties);
958+ dialog. setTitle(" Select Directory" );
959+ dialog. show();
960+ ```
961+
962+ ### Notes
963+
964+ - ` checkbox_checked_color ` controls the selected checkbox fill color.
965+ - ` checkbox_unchecked_color ` controls the unchecked checkbox outer/background color.
966+ - ` checkbox_checkmark_color ` controls the tick/checkmark color.
967+ - ` checkbox_unchecked_inner_color ` controls the inner unchecked color.
968+ - If ` checkbox_checked_color ` is not set, FilePicker uses the existing ` R.color.colorAccent ` fallback.
969+ - This works for file selection, directory selection, and file + directory selection.
970+
927971## Changing dialog width and height
928972
929973This section answers a common GitHub issue/question: ** "Change Width and Height"** .
@@ -1908,7 +1952,7 @@ Possible causes:
19081952
19091953---
19101954
1911- ## Migration guide from v9.x to v10.1.2
1955+ ## Migration guide from v9.x to v10.1.3
19121956
19131957### 1. Update dependency
19141958
@@ -1965,7 +2009,7 @@ Only use `MANAGE_EXTERNAL_STORAGE` when the answer is policy-safe.
19652009
19662010### 5. Update dialog size usage if needed
19672011
1968- If your old app looked too narrow on landscape, tablet, foldable, or ultra-wide screens, use the v10.1.2 sizing API:
2012+ If your old app looked too narrow on landscape, tablet, foldable, or ultra-wide screens, use the v10.1.3 sizing API:
19692013
19702014``` java
19712015dialog. setDialogSizeByPercent(0.85f , 0.75f );
0 commit comments