Better color integration

This commit is contained in:
J-Jamet committed 2021-03-06 14:41:31 +01:00
1 parent 55013bb220
commit 32e5aba906
36 files changed
+212 -225

No files matched your search

@@ -100,7 +100,7 @@ class NodeAdapter (private val context: Context)
this.mDatabase = Database.getInstance()
// Color of content selection
this.mContentSelectionColor = ContextCompat.getColor(context, R.color.colorTextInverse)
this.mContentSelectionColor = ContextCompat.getColor(context, R.color.white)
// Retrieve the color to tint the icon
val taTextColorPrimary = context.theme.obtainStyledAttributes(intArrayOf(android.R.attr.textColorPrimary))
this.mIconGroupColor = taTextColorPrimary.getColor(0, Color.BLACK)