Merge pull request #369 from hav3n/branch-fixes

Fix for #347
This commit is contained in:
Dominik Schürmann 2014-03-09 02:05:23 +01:00
commit 50d9908baf
2 changed files with 3 additions and 2 deletions

View File

@ -375,6 +375,7 @@ public class KeyListPublicFragment extends Fragment implements SearchView.OnQuer
// Execute this when searching
mSearchView.setOnQueryTextListener(this);
super.onCreateOptionsMenu(menu, inflater);
}

View File

@ -4,7 +4,7 @@
<item
android:id="@+id/menu_key_list_public_import"
app:showAsAction="always|withText"
app:showAsAction="ifRoom|withText"
android:icon="@drawable/ic_action_add_person"
android:title="@string/menu_import" />
<item
@ -16,5 +16,5 @@
android:title="@string/menu_search"
android:icon="@drawable/ic_action_search"
app:actionViewClass="android.support.v7.widget.SearchView"
app:showAsAction="ifRoom" />
app:showAsAction="collapseActionView|ifRoom" />
</menu>