Mar 6 | 9:55 AM |
Mark M. | has entered the room |
Mark M. | turned on guest access |
Mar 6 | 10:10 AM |
wilson m. | has entered the room |
wilson m. |
Hi Mark
|
Mark M. |
hello, wilson!
|
Mark M. |
how can I help you today?
|
Mar 6 | 10:15 AM |
wilson m. |
I'm wondering if you've heard of Orubase to develop cross-platform apps, including Android, Windows Phone, iOS
|
Mark M. |
no, this is the first that I have heard of it
|
wilson m. |
And the other multi-platform is Xamarin
|
wilson m. |
using Mono
|
Mark M. |
Orubase might use Xamarin, given that it is an ASP.NET framework
|
Mark M. |
I know of Xamarin and MonoDroid, though I have not used Mono/MonoDroid
|
Mark M. |
do you have another question?
|
Mar 6 | 10:20 AM |
Marcin | has entered the room |
wilson m. |
Does the mono dependencies of Xamarin take up too much memory and slow the app down?
|
Mark M. |
wilson: I have not used Mono/MonoDroid
|
Mark M. |
I have no means of answering questions regarding Mono or MonoDroid
|
Marcin |
hi Mark
|
Mark M. |
hello, Marcin!
|
Mark M. |
Marcin: do you have a question?
|
Marcin |
yes
|
Marcin |
I have implemented a search widget on my action bar
|
Marcin |
its collapsed
|
Marcin |
by clicking some other element on the ui I would like this search widget to gain focus and expand
|
Marcin |
how can i achieve that?
|
Mark M. |
call requestFocus() on it to give it the focus
|
Mark M. |
if that does not also automatically expand it, call expandActionView() on the MenuItem corresponding to this widget
|
Mark M. |
you might need to do that in the reverse order, if your goal is for focus to be on the EditText inside the search widget
|
Marcin |
requestFocus doesnt work, how do I get the MenuItem?
|
Mar 6 | 10:25 AM |
Mark M. |
call findItem() on the Menu
|
Marcin |
View paste
|
Mark M. |
hold onto the results of menu.findItem(R.id.menu_search)
|
Mark M. |
that is your MenuItem
|
Mark M. |
call expandActionView() on it to expand the action view
|
Marcin |
ah.. forgot there is getActionView at the end
|
Marcin |
testing...
|
Mark M. |
meanwhile...
|
Mark M. |
wilson: do you have another question?
|
Mark M. |
wilson: if you come up with another question, let me know
|
Mark M. |
Marcin: if you have another question, go ahead
|
Marcin |
yay works
|
Marcin |
thanks Mark
|
Mar 6 | 10:30 AM |
Mark M. |
if either of you have another question, go ahead
|
Mar 6 | 10:45 AM |
Marcin |
When I click on a suggestion inside search widget. I would like this suggestion to be shown inside search widget instead f hint
|
Marcin |
what is the typical way of doing this
|
Mark M. |
beats me
|
Mark M. |
I have not worked with suggestions and a SearchView
|
Mark M. |
sorry
|
Mar 6 | 10:50 AM |
Marcin |
regarding my previous question
|
Marcin |
when I click an ui item and expand the searchview gets the focus
|
Marcin |
but then I do some other stuff and when i click again it doesnt get the focus
|
Mark M. |
that's odd
|
Marcin |
so it works only for the first time
|
Mark M. |
I have no good explanation for that
|
Mark M. |
if you click on the SearchView itself, will it get the focus?
|
Marcin |
yes
|
Mark M. |
yeah, no clue
|
Marcin |
np.. thanks
|
Mar 6 | 10:55 AM |
Marcin |
bye
|
Mark M. |
that is a wrap for today's chat
|
Mark M. |
the transcript will appear shortly in http://commonsware.com/office-hours/
|
Mark M. |
the next chat is tomorrow at 7:30pm Eastern Time
|
Mark M. |
have a pleasant day, all!
|
Mar 6 | 11:00 AM |
wilson m. | has left the room |
Marcin | has left the room |
Mark M. | turned off guest access |