Open seregin-pro opened 4 years ago
Hi @seregin-pro,
i guess the issue is that one of the theme values is missing.
If you derive your activity theme from "FileChooserDialogAppThemeLight" or "FileChooserDialogAppThemeDark" or even from "RichTextEditorAppThemeLight" or "RichTextEditorAppThemeDark" does it work then?
If so, either keep them as parent theme or check their values here and copy them to your theme: https://github.com/dankito/RichTextEditor/blob/master/RichTextEditorAndroid/src/main/res/values/themes.xml https://github.com/dankito/AndroidFileChooserDialog/blob/master/FileChooserDialog/src/main/res/values/styles.xml
Sorry for the bad code quality the last few weeks, but i rarely have time and do the changes hastily late in the night.
It will take at least three weeks till i will find time again so that i can dig deeply into the code and find out what the issue is.
I guess I did something wrong because a can't start my activity
I added styles.xml
`
<item name="FileChooserDialogFileIsSelectedCheckMarkTintColor">@color/fileChooserDialogFileIsSelectedCheckMarkTintColor_Light</item>
<item name="FileChooserDialogNavigationMenuItemsIconTintColor">@color/fileChooserDialogNavigationMenuItemsIconTintColor_Light</item>
</style>`
and created themes.xml
Hello. I started to test version 2.0.18. Android 10
I have 1 error when I choose an image:
android.view.InflateException: Binary XML file line #2 in ru.pro.seregin.notes:layout/file_chooser_dialog_list_item_file: Binary XML file line #2 in ru.pro.seregin.notes:layout/file_chooser_dialog_list_item_file: Error inflating class
Caused by: android.view.InflateException: Binary XML file line #2 in ru.pro.seregin.notes:layout/file_chooser_dialog_list_item_file: Error inflating class