profile details: proper palette tint attribute
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 17 May 2020 19:41:29 +0000 (22:41 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 17 May 2020 19:41:29 +0000 (22:41 +0300)
was crashing with "unknown attribute at index #5" afther theming

app/src/main/res/layout/profile_detail.xml

index 0a0463b..7cf60be 100644 (file)
                 android:background="?colorPrimary"
                 android:contentDescription="@string/btn_color_picker_button"
                 app:srcCompat="@drawable/ic_palette_black_24dp"
-                android:tint="?drawer_background" />
+                android:tint="?android:attr/colorBackground" />
 
         </LinearLayout>