mirror of
https://github.com/moparisthebest/keepass2android
synced 2024-11-22 09:12:17 -05:00
fix scaling bug with icons
This commit is contained in:
parent
243cab221c
commit
5de1e2be83
@ -81,7 +81,6 @@ namespace keepass2android
|
|||||||
SetContentView (Resource.Layout.group_edit);
|
SetContentView (Resource.Layout.group_edit);
|
||||||
|
|
||||||
ImageButton iconButton = (ImageButton)FindViewById (Resource.Id.icon_button);
|
ImageButton iconButton = (ImageButton)FindViewById (Resource.Id.icon_button);
|
||||||
iconButton.SetScaleType(ImageView.ScaleType.FitXy);
|
|
||||||
iconButton.Click += (sender, e) =>
|
iconButton.Click += (sender, e) =>
|
||||||
{
|
{
|
||||||
IconPickerActivity.Launch (this);
|
IconPickerActivity.Launch (this);
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
android:id="@+id/icon_button"
|
android:id="@+id/icon_button"
|
||||||
android:layout_width="64dp"
|
android:layout_width="64dp"
|
||||||
android:layout_height="64dp"
|
android:layout_height="64dp"
|
||||||
android:scaleType="fitXY"
|
android:scaleType="fitCenter"
|
||||||
android:src="@drawable/ic00"
|
android:src="@drawable/ic00"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_alignParentTop="true" />
|
android:layout_alignParentTop="true" />
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
android:id="@+id/icon_image"
|
android:id="@+id/icon_image"
|
||||||
android:layout_width="40dp"
|
android:layout_width="40dp"
|
||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:scaleType="fitXY"
|
android:scaleType="fitCenter"
|
||||||
android:src="@drawable/ic99_blank">
|
android:src="@drawable/ic99_blank">
|
||||||
</ImageView>
|
</ImageView>
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -552,10 +552,11 @@
|
|||||||
<string name="ChangeLog_0_9_9">
|
<string name="ChangeLog_0_9_9">
|
||||||
Version 0.9.9\n
|
Version 0.9.9\n
|
||||||
* Complete UI redesign. Thanks a lot to Stefano Pignataro (http://www.spstudio.at) for his support!\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
|
* Support for Multi Window mode on Samsung devices\n
|
||||||
* Increased default number of encryption rounds for new databases\n
|
* Increased default number of encryption rounds for new databases\n
|
||||||
* Check for duplicate keys of additional fields to avoid losing data\n
|
* Check for duplicate keys of additional fields to avoid losing data\n
|
||||||
* Allow to add custom icons
|
|
||||||
</string>
|
</string>
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user