Skip to content

Commit 9d72898

Browse files
Update README.md
1 parent 34a64dd commit 9d72898

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

README.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This is Telegram like File Picker for android .
2222

2323
``` gradel
2424
dependencies {
25-
implementation 'com.github.smartdevelopers-ir:SmartFilePicker:2.0.6'
25+
implementation 'com.github.smartdevelopers-ir:SmartFilePicker:2.0.7'
2626
}
2727
```
2828

@@ -61,7 +61,32 @@ protected void onActivityResult(int requestCode, int resultCode, @Nullable Inten
6161
}
6262
}
6363
```
64-
64+
* Chaging Theme
65+
To change theme you should override this style to extends your AppTheme
66+
67+
``` xml
68+
<style name="App.AppTheme" parent="Theme.Material3.Light.NoActionBar">
69+
...
70+
</style>
71+
<style name="SFB.Base" parent="App.AppTheme"/>
72+
```
73+
74+
And for customizing bottomNavigation colors you should override this style :
75+
76+
``` xml
77+
<style name="SFB.Base.Theme.Browser" parent="SFB.Base.Theme">
78+
<item name="SFBColorGallery">@color/sfb_color_gallery</item>
79+
<item name="SFBColorFile">@color/sfb_color_file</item>
80+
<item name="SFBColorAudio">@color/sfb_color_audio</item>
81+
<item name="SFBColorPDF">@color/sfb_color_pdf</item>
82+
<item name="SFBBottomNavActiveColor">@color/white</item>
83+
<item name="SFBBottomNavInactiveColor">@color/sfb_color_item_inactive</item>
84+
<item name="SFBBottomNavColorDisabled">@color/sfb_color_item_disabled</item>
85+
<item name="SFBCheckboxFillColor">?attr/colorSecondary</item>
86+
<item name="SFBCheckboxOnFillColor">?attr/colorOnSecondary</item>
87+
<item name="SFBCheckboxStrokeColor">?attr/colorOnSecondary</item>
88+
</style>
89+
```
6590
# Donation
6691
You can support me by donating with cryptocurrency :)
6792

0 commit comments

Comments
 (0)