diff --git a/src/keepass2android/EntryActivity.cs b/src/keepass2android/EntryActivity.cs index 52c5441b..3302fb15 100644 --- a/src/keepass2android/EntryActivity.cs +++ b/src/keepass2android/EntryActivity.cs @@ -718,7 +718,7 @@ namespace keepass2android } PopulateStandardText(Resource.Id.entry_comment, Resource.Id.entryfield_container_comment, PwDefs.NotesField); RegisterTextPopup(FindViewById(Resource.Id.comment_container), - FindViewById(Resource.Id.username_vdots), PwDefs.NotesField); + FindViewById(Resource.Id.comment_vdots), PwDefs.NotesField); PopulateText(Resource.Id.entry_tags, Resource.Id.entryfield_container_tags, concatTags(Entry.Tags)); PopulateText(Resource.Id.entry_override_url, Resource.Id.entryfield_container_overrideurl, Entry.OverrideUrl); diff --git a/src/keepass2android/FileStorageSelectionActivity.cs b/src/keepass2android/FileStorageSelectionActivity.cs index 1a796c2d..c7dfdbd9 100644 --- a/src/keepass2android/FileStorageSelectionActivity.cs +++ b/src/keepass2android/FileStorageSelectionActivity.cs @@ -109,7 +109,10 @@ namespace keepass2android btn = new Button(_context); btn.LayoutParameters = new GridView.LayoutParams((int)convertDpToPixel(90, _context), (int)convertDpToPixel(110, _context)); btn.SetBackgroundResource(Resource.Drawable.storagetype_button_bg); - btn.SetPadding(8,64,8,8); + btn.SetPadding((int)convertDpToPixel(4, _context), + (int)convertDpToPixel(20, _context), + (int)convertDpToPixel(4, _context), + (int)convertDpToPixel(4, _context)); btn.SetTextSize(ComplexUnitType.Sp, 11); btn.SetTextColor(new Color(115, 115, 115)); btn.SetSingleLine(false); diff --git a/src/keepass2android/GroupActivity.cs b/src/keepass2android/GroupActivity.cs index 3521100c..cc4d2733 100644 --- a/src/keepass2android/GroupActivity.cs +++ b/src/keepass2android/GroupActivity.cs @@ -97,32 +97,7 @@ namespace keepass2android { get { return App.Kp2a.GetDb().CanWrite && ((this.Group.ParentGroup != null) || App.Kp2a.GetDb().DatabaseFormat.CanHaveEntriesInRootGroup); } } - /*TODO - public override bool OnCreateOptionsMenu(IMenu menu) - { - // Inflate the menu; this adds items to the action bar if it is present. - MenuInflater.Inflate(keepass2android.Resource.Menu.group, menu); - - // Get the SearchView and set the searchable configuration - SearchManager searchManager = (SearchManager)GetSystemService(Context.SearchService); - - var searchItem = menu.FindItem(keepass2android.Resource.Id.menu_search); - - //SearchView searchView = (SearchView)Android.Support.V4.View.MenuItemCompat.GetActionView(searchItem); - var view = MenuItemCompat.GetActionView(searchItem); - var searchView = view.JavaCast(); - - - // searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName())); - - // Assumes current activity is the searchable activity - searchView.SetSearchableInfo(searchManager.GetSearchableInfo(ComponentName)); - // searchView.setIconifiedByDefault(false); // Do not iconify the widget; expand it by default - - - return base.OnCreateOptionsMenu(menu); - } -*/ + protected override void OnCreate (Bundle savedInstanceState) { base.OnCreate (savedInstanceState); diff --git a/src/keepass2android/Resources/drawable-mdpi/ic_notify_loaded.png b/src/keepass2android/Resources/drawable-mdpi/ic_notify_loaded.png new file mode 100644 index 00000000..be22f8cf Binary files /dev/null and b/src/keepass2android/Resources/drawable-mdpi/ic_notify_loaded.png differ diff --git a/src/keepass2android/Resources/drawable-mdpi/ic_notify_locked.png b/src/keepass2android/Resources/drawable-mdpi/ic_notify_locked.png new file mode 100644 index 00000000..840dafed Binary files /dev/null and b/src/keepass2android/Resources/drawable-mdpi/ic_notify_locked.png differ diff --git a/src/keepass2android/Resources/drawable-mdpi/ic_notify_offline.png b/src/keepass2android/Resources/drawable-mdpi/ic_notify_offline.png new file mode 100644 index 00000000..a152838d Binary files /dev/null and b/src/keepass2android/Resources/drawable-mdpi/ic_notify_offline.png differ diff --git a/src/keepass2android/Resources/drawable-xhdpi/ic_notify_loaded.png b/src/keepass2android/Resources/drawable-xhdpi/ic_notify_loaded.png deleted file mode 100644 index 4e367a1e..00000000 Binary files a/src/keepass2android/Resources/drawable-xhdpi/ic_notify_loaded.png and /dev/null differ diff --git a/src/keepass2android/Resources/drawable-xhdpi/ic_notify_locked.png b/src/keepass2android/Resources/drawable-xhdpi/ic_notify_locked.png deleted file mode 100644 index ec1c89db..00000000 Binary files a/src/keepass2android/Resources/drawable-xhdpi/ic_notify_locked.png and /dev/null differ diff --git a/src/keepass2android/Resources/drawable-xhdpi/ic_notify_offline.png b/src/keepass2android/Resources/drawable-xhdpi/ic_notify_offline.png deleted file mode 100644 index 650123ec..00000000 Binary files a/src/keepass2android/Resources/drawable-xhdpi/ic_notify_offline.png and /dev/null differ diff --git a/src/keepass2android/Resources/layout-land/file_selection.xml b/src/keepass2android/Resources/layout-land/file_selection.xml new file mode 100644 index 00000000..96c63077 --- /dev/null +++ b/src/keepass2android/Resources/layout-land/file_selection.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + +