Menu search bar pushes other menu buttons when clicked - android

My problem is in the photos.
When I click on search, the search section opens and pushes the side menu buttons out. Buttons are not visible. I want them to appear even if search is open. However, I couldn't find how to do this. Thank you.

Related

parentActivityName is not showing any back arrow in the tool bar

I'm having a toolbar in which I have a menu option so when the guide button from the menu is clicked the guide activity opens but now I want to add a back arrow on toolbar so I can navigate through button clcik and as I see some solutions many of them are suggesting
android:parentActivityName=".UI.HomeActivity" // UI.HomeActivity is where i want to go back
but I don't know why it doesn't seems to work I was not able to see any arrow on the left of the toolbar
and dont know(correct me if wrong) but tbh using android:parentActivityName=".UI.HomeActivity"
for navigating doesn't looks good to me , i was preferring manaul onClick listner on the icon(as image) in the tool bar , but dont know how do i do that

Android: Sliding menu from the bottom

I want in my app create sliding menu which scroll from the bottom to the top. I have a button on the bottom of Activity and when user click on the button, then the menu should shown. When user click on the button again, then the menu should disappear. User should also can swipe up and down to show or disappear the menu.
The menu can look like in this app Any.Do
Look at the screenshots below. Do you know how to do this? Do you have some tips?
One way to do it is have a view which animates up and down depending on it's state.
In this view you could house a fragment which would be the menu.

Android: Handle click link event in edittext

I have an EditText where I wanted to make link (email, web, phone) clickable. I was able to do it by using
mBodyText.setMovementMethod(LinkMovementMethod.getInstance());
it works perfectly and all links open when clicking on them.
Here comes my requirement. I want to open contextual action bar (like default copy/ paste one) when user click on a link in edit text.
I know how to start a contextual action bar. But I don't know how can I catch the event when user clicks the link and to identify what kind of link it is (phone or web etc...) to show the proper menus in CAB.
After searching for hours, I come here to get the suggestion.

Keep search interface open

Is there a way to keep the search (widget or dialog) open even if the user clicks on the screen? I've seen many Google apps doing this (Keep, GMail, Youtube...) but not so many apps from external developers...
I have my search edit text visible on the ActionBar but as soon as I tap somewhere else on the screen, it is dismissed. I only want it dismissed if the user clicks on the action bar icon or presses the back key.
Is it possible? Thanks in advance!
Intercept the touch event on the container view.
Check if the SearchView is expanded.
If it is do nothing
Other idea, is cutting the SearchView being collapsed whenever the container sends touch event signals down to the view tree if it is already expanded. Or make sure it does not collapse when the SearchView looses the focus. Make sure you properly collapsed, when back key is pressed.
These are just ideas.
Hope it helps.

Android Menu Shown Where User Clicked

I wanted to achieve the same sort of functionality found in Google Now where you can tap the cards overflow icon and a menu appears next to it with options (shown here).
Does anyone know how to implement this sort thing to achieve the same style etc?
I think you can do this by placing a listview under your button, and set its visibility to invisible.
Then place an onclicklistener on your button to turn your visibility to visible.

Categories

Resources