mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
search-bar for android is opened by default
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user