mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Change icon background for custom image
This commit is contained in:
@@ -2,6 +2,7 @@ KeepassDX (2.5.0.0beta23)
|
||||
* New, more secure database creation workflow
|
||||
* Add alias for history files (WARNING: history is erased)
|
||||
* New Biometric unlock (Fingerprint with new API)
|
||||
* Fix small issues
|
||||
|
||||
KeepassDX (2.5.0.0beta22)
|
||||
* Rebuild code for actions
|
||||
|
||||
@@ -99,8 +99,8 @@ class EntryActivity : LockingHideActivity() {
|
||||
mEntry?.touch(modified = false, touchParents = false)
|
||||
|
||||
// Retrieve the textColor to tint the icon
|
||||
val taIconColor = theme.obtainStyledAttributes(intArrayOf(R.attr.textColorInverse))
|
||||
iconColor = taIconColor.getColor(0, Color.WHITE)
|
||||
val taIconColor = theme.obtainStyledAttributes(intArrayOf(R.attr.colorAccent))
|
||||
iconColor = taIconColor.getColor(0, Color.BLACK)
|
||||
taIconColor.recycle()
|
||||
|
||||
// Refresh Menu contents in case onCreateMenuOptions was called before mEntry was set
|
||||
|
||||
@@ -296,7 +296,7 @@
|
||||
<!-- Icon Style -->
|
||||
<style name="KeepassDXStyle.Icon" parent="KeepassDXStyle.v21.Button">
|
||||
<item name="android:background">@drawable/background_icon</item>
|
||||
<item name="backgroundTint">?attr/colorAccent</item>
|
||||
<item name="backgroundTint">?android:attr/windowBackground</item>
|
||||
</style>
|
||||
|
||||
<!-- FAB -->
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
* New, more secure database creation workflow
|
||||
* Add alias for history files (WARNING: history is erased)
|
||||
* New Biometric unlock (Fingerprint with new API)
|
||||
* New Biometric unlock (Fingerprint with new API)
|
||||
* Fix small issues
|
||||
@@ -1,3 +1,4 @@
|
||||
* Nouveau workflow de création de base de données plus sécurisé
|
||||
* Ajout d'un alias pour les fichiers d'historiques (ATTENTION: l'historique est effacé)
|
||||
* Nouveau déblocage par biométrique (Empreinte digitale avec nouvelle API)
|
||||
* Nouveau déblocage par biométrique (Empreinte digitale avec nouvelle API)
|
||||
* Correction de petites anomalies
|
||||
Reference in New Issue
Block a user