Skip to content
Abhishek Tiwari edited this page Jan 10, 2021 · 1 revision

Theme

UnicornFilePicker comes packaged with two themes:

  • R.style.UnicornFilePicker_Default -> Default Light Theme
  • R.style.UnicornFilePicker_Dracula -> Dark Theme

This File Picker is customizable down to a single TextView. If you want to make a custom theme, please not the following attributes:

  • unicorn.background -> Background Color for the FilePicker Activity
  • unicorn.colorAccent -> Accent Color for the Acitivity (Used in progress bars, highlighted texts, etc. )
  • unicorn.primaryTextColor -> Primary Text Color for the Activity
  • unicorn.secondaryTextColor -> Secondary Text Color for the Activity
  • unicorn.fabColor -> Background Tint for the Floating Action Button
  • unicorn.file.heading -> Text Color for the first line of item in recycler view
  • unicorn.file.subHeading -> Text Color for second line of item in recycler view
  • unicorn.file.iconTint -> Icon tint for folder/file icons in recycler view
  • unicorn.file.arrowIconTint -> Icon tint color for right arrow in item layout of directory views
  • unicorn.file.selectionTint -> Background Color of recyclerview item when item is selected
Clone this wiki locally