Nav drawer widget - android

I want to implement a side drawer widget. I don't know if I am using the right words or not. A small icon will be placed on the left/right side of the screen, if it is swiped, it should open an activity. If I close it, it should remain on the side of the screen until application is closed from the inside. I have seen this in an application and I am posting screen shot too.
Notice the image hint on the left side. Its always there even if we press home button:
I searched for it but didn't find anything. I guess it's because I am not searching with the correct words maybe? It would be great if I knew the name of this widget.

Related

Launching app by swiping from corner

So what I wanna do is make app that will display information and allow you to launch other apps from that main screen but I want that screen to appear when I swipe from corner (right bottom ..) from any app and any screen like swipe pad app or swipe drawer type of apps.. Any ideas? :)
You can do it by service.
this will make your button show on top of everything so you can hide it and show a small line or something or even a transparent icon and when user touches it it will do what ever you want.

I have trouble figuring out how to come up with a menu like this one on Truedialer

I am developing an app where I have several items in a list and I want to show a menu like in truedialer whereby it pull from the bottom of the screen but does not fill. When I drag it upwards it can still fill the screen..
I have the menu items in an stand alone activity.
Can Someone help me figure out how o have to activity with the menus behave like the one of truedialer as shown in the screen
enter image description here
enter image description here
You can achieve this by using bottom sheets
https://material.google.com/components/bottom-sheets.html
http://android-developers.blogspot.com/2016/02/android-support-library-232.html

Interactive home screen icons

I searched this topic and couldn't find anything on it.
Is there a way to make interactive icons on the home screen?
for example there is "clean master" that after you click an icon of it, it make an animation. Also there is this facebook thing where you get a message and an icon with the profile picture of the one that messaged you pops up.
I can't figure out or find a way to implement this kind of stuff..
I would be happy if any one could give me some kind of direction..
Thanks in advance.
for example there is "clean master" that after you click an icon of it,
it make an animation.
The icon doesn't animate. When you click on it, a new transparent Activity opens which the icon at the same position where the original icon is. The animations happens entirely on the activity.
The activity is transparent so you get a feel that the icon itself is animating. If you notice carefully, you can find the navigation bar coming up if you tap somewhere while its animating.
Also there is this facebook thing where you get a message and an icon
with the profile picture of the one that messaged you pops up.
It is know as Chat Heads. You ca create your own, but it an take some time and is a bit involving. If you are a beginner and/or you are in a hurry, you can use this library. I have used it and it works perfectly.
The general answer if you want activity on the home screen is to implement a widget.
http://developer.android.com/design/patterns/widgets.html

launching app by swiping on screen(like Switchr app)

I have a news app.It is supposed to launch by swiping on the screen(homescreen or while in any other activity like switchr app).I learned to code swiping patterns but in my case I have to do exactly in the following way(swiping bottom right to top left)..Kindly have a look over following pictorial representation
1.Firstly app should launch by swiping bottom right to top left on the screen
2.next,show the user with list of scrollable arc menu buttons embedded in it like second image
3.when a user clicks on particular button it has to show a brief description about the content like third image
my problems:
creating arc like scrollable menu on bottom right side of the screen(I googled sia ahmed's solution over here ,it helped me a bit)
creating that parachute like structure(image 3) when user clicks particular bubble like button in arc menu..
please guide me
For the menu check out arcmenu by daCapricorn on github. Also see this question.
The balloon bit is trickier. I know of a balloon hint code for android but i haven't seen it in action.
Hope this helps!

Sliding activity from right to left like menu slider android

I have a source code to do (Slider menu)..
But I want to do like it to just open a specific content, meaning that I want the second content to appear over the current content from right to left by pressing a button.
Hint: I'm not want to open activity totally by
overridePendingTransition(R.anim.animation, R.anim.animation2);
I just want the second content opens over the current content like what sliding menu acts.
(sliding menu appears from left to right by moving my finger from left to right, I want my second content opens from right to left and appears partially by pressing a button and back to hide my passing my fingers over it and move from left to right)
example: https://play.google.com/store/apps/details?id=com.wunderkinder.wunderlistandroid
Sorry if I could not explain, and hope anyone got my mean.
I think you got the "Activity" concept wrong.
I understand, you can never show 2 activities at the same time. An activity is not a "screen", "view" or something like that... it is a context itself. It covers a whole state in your application. If you want to do something like a slider, you can play with views, animations or even better, fragments.

Categories

Resources