fix scaling bug with icons

This commit is contained in:
Philipp Crocoll 2015-10-03 20:35:05 +02:00
parent 243cab221c
commit 5de1e2be83
4 changed files with 5 additions and 5 deletions

View File

@ -81,7 +81,6 @@ namespace keepass2android
SetContentView (Resource.Layout.group_edit);
ImageButton iconButton = (ImageButton)FindViewById (Resource.Id.icon_button);
iconButton.SetScaleType(ImageView.ScaleType.FitXy);
iconButton.Click += (sender, e) =>
{
IconPickerActivity.Launch (this);

View File

@ -6,7 +6,7 @@
android:id="@+id/icon_button"
android:layout_width="64dp"
android:layout_height="64dp"
android:scaleType="fitXY"
android:scaleType="fitCenter"
android:src="@drawable/ic00"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true" />

View File

@ -32,7 +32,7 @@
android:id="@+id/icon_image"
android:layout_width="40dp"
android:layout_height="40dp"
android:scaleType="fitXY"
android:scaleType="fitCenter"
android:src="@drawable/ic99_blank">
</ImageView>
<TextView

View File

@ -552,10 +552,11 @@
<string name="ChangeLog_0_9_9">
Version 0.9.9\n
* Complete UI redesign. Thanks a lot to Stefano Pignataro (http://www.spstudio.at) for his support!\n
* Allow to add custom icons\n
* Support for Multi Window mode on Samsung devices\n
* Increased default number of encryption rounds for new databases\n
* Check for duplicate keys of additional fields to avoid losing data\n
* Allow to add custom icons
</string>