add option to choose Icon Sets from other apk.

Created preliminary app for ancient icons
This commit is contained in:
Philipp Crocoll
2015-12-21 21:23:28 +01:00
parent bcd7aa722e
commit 169994eb06
353 changed files with 1286 additions and 189 deletions

View File

@@ -1,3 +1,4 @@
using Android.Content;
using Android.Widget;
using Android.Content.Res;
using KeePassLib;
@@ -7,10 +8,11 @@ namespace keepass2android
{
public interface IDrawableFactory
{
void AssignDrawableTo (ImageView iv, Resources res, PwDatabase db, PwIcon icon, PwUuid customIconId, bool forGroup);
void AssignDrawableTo(ImageView iv, Context context, PwDatabase db, PwIcon icon, PwUuid customIconId, bool forGroup);
Drawable GetIconDrawable(Resources res, PwDatabase db, PwIcon icon, PwUuid customIconId, bool forGroup);
Drawable GetIconDrawable(Context context, PwDatabase db, PwIcon icon, PwUuid customIconId, bool forGroup);
bool IsWhiteIconSet { get; }
void Clear();
}