diff --git a/app/src/main/java/sushi/hardcore/droidfs/adapters/ExplorerElementAdapter.kt b/app/src/main/java/sushi/hardcore/droidfs/adapters/ExplorerElementAdapter.kt index 146668e..2c26e21 100644 --- a/app/src/main/java/sushi/hardcore/droidfs/adapters/ExplorerElementAdapter.kt +++ b/app/src/main/java/sushi/hardcore/droidfs/adapters/ExplorerElementAdapter.kt @@ -161,6 +161,7 @@ class ExplorerElementAdapter( R.drawable.icon_file_video } ConstValues.isText(explorerElement.name) -> R.drawable.icon_file_text + ConstValues.isPDF(explorerElement.name) -> R.drawable.icon_file_pdf ConstValues.isAudio(explorerElement.name) -> R.drawable.icon_file_audio else -> R.drawable.icon_file_unknown } diff --git a/app/src/main/res/drawable/icon_file_pdf.xml b/app/src/main/res/drawable/icon_file_pdf.xml new file mode 100644 index 0000000..44ac738 --- /dev/null +++ b/app/src/main/res/drawable/icon_file_pdf.xml @@ -0,0 +1,9 @@ + + +