Android fill part of screen with menu - android

I am developing an app for Android, and would like to have a menu button in the top left corner, above a webview. When this button is pressed, I want a menu filling almost the entire screen to slide in from the side, as in Evernote's android app. How is this most easily achieved?
I have googled quite a bit without finding an answer, all help is appreciated.

There are many different libraries you could use to implement a sliding menu like this. I'm currently using this library which is very easy to implement. It also uses ActionBarSherlock which is included.

The menu is probably programmed using ActionbarSherlock and the transition between activities is explained here:
Duplicate
Without any code this is all we can do for you. Hope this might help.

Related

Is there a NATIVE ANDROID button for NEXT or CONTINUE? If so, what does it look like?

Does Android use or have native buttons for something like NEXT or CONTINUE - I'm working on a 2 step process and want to use what Android has NATIVELY vs Custom design.
For example, IOS has the native TOP NAVIGATION that you can change.
In this instance, we are using a CONTINUE button up top. This is a native option with IOS. Does Android have anything like this? If so, what does it look like and where is it placed. I cannot find anything on this.
Thank you in advance!
No android do not have native button.
You have to make your custom xml for action bar and add next/continue buttons.
A good way to learn about what action bar/ App bar provides and what it doesn't visit Material.io.
I would suggest using a floating action button (FAB).
I think this is as close as it gets for a native next button, although it can be used for many things.
For android design components I would recommend you having a look at Material.io. There you will get in depth explanations for almost all android design patterns!

App browsing page bar

Im developing an app and wanted to add some page browsing with those dots to identify your current page like the image below, can someone tell me how is that control called?
Thank you in advance
There is nothing in the Android SDK that provides this "out of the box". It is probably implemented as a LinearLayout holding ImageView widgets, though there are plenty of ways of doing it. If your intention is to use this with a ViewPager, there is an implementation of this UI in the ViewPagerIndicator library and perhaps in other open source libraries as well.
If you really want to see what that app is doing, use uiautomatorviewer to inspect the running UI of that activity and see what widgets are involved.
There is no default Android view for that.
Take a look at this:
https://github.com/JakeWharton/Android-ViewPagerIndicator

Creating a scroll-able level selecting menu in android

I am developing a native android app and I want to implement a scroll-able menu for selecting a specific level. I know that I can use fragments for this, but there are 15 levels so I have to create many fragments and layouts. I want to achieve this by some thing simple and more manageable.
I have attached the images for better understanding of what I want!
Hope you answer this question soon. Thanks in advance.
You can use ViewPager to achieve that.

a moving tab in android application

I want to make a moving list appear from the left of the screen of the activity in the android app.
Something like the facebook app shown below :
,,
how can I make something like that in an android app.
Thanks.
This is a very popular UI pattern called a sliding menu / slider. You can search for open source libraries / projects which implement this for you.
Here is the first one I found on google.
This one is useful if you want to support old (pre holo) android devices too. It's an addon to the excellent holoeverywhere library.
And last but not least, take a look at this official pattern by google which also implements the same behavior. The code for creating it is available here.
The concept behind this is that you are taking a screen grab of the current activity and then loading in the menu. Your not actually sliding between activities, your moving the screen shot. Thats a very basic explanation of whats happening.
If you search for slide navigation on github I'm sure you'll find something.

Adding native bottom menu to phonegap app for android

I know there are a few workarounds to create an always visible bottom menu and still be able to scroll the content. (iscroll, jquery)
But isn't it possible to add this in the java file itself and then "communicate" with it. (highlight when selected and such) and the webview only extends to the bottom menu?
Or does anybody knows if there is an easy way with the new update 1.9 where their own webview is included? They haven't included many examples yet.
I know most people swear by jquery/prototype and all these frameworks, but i have heard that the speed of phonegap apps can be very slow, so i want to try making the app without an extra JS framework.
Dan you'd be better off sticking with the Android way of providing this functionality which is providing an options menu that appears when you click the menu button.
https://developer.android.com/guide/topics/ui/menus.html#options-menu
From there in your onOptionsItemSelected method you can call a Javascript function using this.sendJavascript().
Well for some reason, position:fixed worked all of the sudden. I have no idea why??
This basically does what I want it to do with a menu in the bottom.. If I only could figure out what made the difference..

Categories

Resources