Android Question Is it possible to add editTex to Activity header?

b4xscripter

Member
Licensed User
Longtime User
Hi all,

Is it possible to add the box to Activity?

For example, in this code we add the "refresh" icon

B4X:
Sub Activity_Create(FirstTime As Boolean)
    'Do not forget to load the layout file created with the visual designer. For example:
    Activity.LoadLayout("1")
    Activity.AddMenuItem3("", "refresh", xui.LoadBitmapResize(File.DirAssets, "ic_cached_white_24dp.png", 32dip, 32dip, True), True)
End Sub

My question is if is it possible to do something similar with editText / AutoCompleteEditText. I would like to implement the search box.

Thanks in advance
 
Top