Using two sliding menus in a android project - java

I am new to android and want to implement two slider menus in my project.I have done a tutorial found in this link:
http://www.androidhive.info/2013/11/android-sliding-menu-using-navigation-drawer/
Can anyone suggest a way or give me a link as how to implement two slider menus in my project?

You can use inbuilt navigation drawer for both side slidings.
Or
U can use slider (for slider check example here)

Related

How to implement slider view with tabs in custom keyboard or input method service

I'm working on a android keyboard app. The only problem I couldn't get around is slider tabbed view like this:
I don't know how to implement tabs with view pager in an input method service. It's fairly easy to do with activities and fragments but no idea about how to get it done in a custom keyboard.
Can anyone point me in right direction?
Is there any available library for this or a nice hack?
I'd really appreciate your help at this point.
regards,
For implementing sliding tabs with ViewPager you can refer this link or in Android studio you can select from samples available while creating a new Activity.
If you want to add library support for it you can implement this library.
Mind the min sdk version of the library to avoid any trouble in future.

How to create a horizontally scrollable header in Android Studio?

guys I am developing an Android Studio, and I would like to create a scrollabe header, a similar one that this app has: Donald Trump Soundboard.
Do you know any lectures on youtube or anywhere where I can learn a required skills to create such a header?
If you want to have a scrollable Tab Layout, I have created an android library that does just that. It has custom animations too if you're into that. You can take a look here
and see if it suits your purpose.
I just saw the app, the one you are talking about is swipe​ view. The tabs are not fix rather it moves. It has been asked here( How to make scrollable tab in Android? )

How to create a navigation that open from bottom of screen?

I want to create some thing like drawer menu that open from bottom of screen.
some thing like blow image. Also I want to know is that any special name?
You can use BottomSheet library. It works on Android 2.1+
https://github.com/soarcn/BottomSheet
It's called a SlidingDrawer. It was on the SDK but got deprecated a while back.
That said, this thrid-party library should do the job just as good. I've used it in multiple projects.

How to customize eclipse perspective programmatically?

I want to make the same behavior I got when I do a right click on a perspective and choose customize to get this window
I want to customize menus and toolbars for my perspective only programmatically.
Actually, I want to remove most menus and toolbars in my perspective only and let them show up again when I change to any other perspective
Can you please help me with this ?
This guide shows how to customise toolbars programmatically based on the current perspective, and hints that the solution for menus is very similar.
Also, the code for the UI in your screenshot is available here, and might contain some useful hints at how to do it.

android google maps button on popup

Okay. What I have so far is an Android app with a Google map on which I've placed a bunch of icons that, when clicked on, create a popup with some text on it. Is there any way to place a button on that popup? If this is not possible, is there some way to make a button appear when an icon on Google Maps is selected?
In case you're wondering, the code I'm using now looks like this.
itemizedOverlay.addOverlay(new OverlayItem(point, title, text));
//actually a whole bunch of OverlayItems, each with their own location and text
//but this is the general shape of it.
mapOverlays.add(itemizedOverlay);
Edit:
There are different kinds of popups used with different versions (check yourself in the emulator versions) of the GoogleMaps app. The first popup simple displays the title of the location (Android 2.3.3).
The second popup shows the title and arrow indicator. (Android 4.0.3)
Interesting enough: I noticed that both popups are clickable and start another activity that shows details about the location.
The mapviewballon project https://github.com/jgilfelt/android-mapviewballoons/ allows you to use your own custom layout for these popup.
I did not test with buttons on it but I do not see why I would not work.
The example projects shows the following types of popup balloons.
Here is another project that creates a custom popup balloon. The project can be downloaded at the end of the article.

Categories