search-bar for android is opened by default

This commit is contained in:
Vladimir Enchev
2015-03-10 09:46:11 +02:00
parent b5269348b1
commit 4fcaabcfec

View File

@@ -49,6 +49,8 @@ export class SearchBar extends common.SearchBar {
public _createUI() {
this._android = new android.widget.SearchView(this._context);
this._android.setIconified(false);
var that = new WeakRef(this);
this._android.setOnQueryTextListener(new android.widget.SearchView.OnQueryTextListener({
get owner() {