mirror of
https://github.com/moparisthebest/keepass2android
synced 2024-12-22 15:08:50 -05:00
fix scaling bug with icons
This commit is contained in:
parent
243cab221c
commit
5de1e2be83
@ -81,8 +81,7 @@ namespace keepass2android
|
||||
SetContentView (Resource.Layout.group_edit);
|
||||
|
||||
ImageButton iconButton = (ImageButton)FindViewById (Resource.Id.icon_button);
|
||||
iconButton.SetScaleType(ImageView.ScaleType.FitXy);
|
||||
iconButton.Click += (sender, e) =>
|
||||
iconButton.Click += (sender, e) =>
|
||||
{
|
||||
IconPickerActivity.Launch (this);
|
||||
};
|
||||
|
@ -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" />
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user