diff --git a/src/keepass2android/IconPickerActivity.cs b/src/keepass2android/IconPickerActivity.cs index be838bd1..15028023 100644 --- a/src/keepass2android/IconPickerActivity.cs +++ b/src/keepass2android/IconPickerActivity.cs @@ -18,6 +18,7 @@ This file is part of Keepass2Android, Copyright 2013 Philipp Crocoll. This file using System; using Android.App; using Android.Content; +using Android.Graphics; using Android.OS; using Android.Views; using Android.Widget; @@ -101,7 +102,9 @@ namespace keepass2android tv.Text = "" + position; ImageView iv = (ImageView) currView.FindViewById(Resource.Id.icon_image); iv.SetImageResource(Icons.IconToResId((KeePassLib.PwIcon)position, false)); - + Android.Graphics.PorterDuff.Mode mMode = Android.Graphics.PorterDuff.Mode.SrcAtop; + Color color = new Color(189, 189, 189); + iv.SetColorFilter(color, mMode); return currView; } } diff --git a/src/keepass2android/Resources/layout/QuickUnlock.xml b/src/keepass2android/Resources/layout/QuickUnlock.xml index a94480e4..09f2defb 100644 --- a/src/keepass2android/Resources/layout/QuickUnlock.xml +++ b/src/keepass2android/Resources/layout/QuickUnlock.xml @@ -106,7 +106,6 @@ android:fitsSystemWindows="true"> android:layout_height="match_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior"> @@ -103,7 +104,6 @@ android:layout_height="match_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior">