Need help to get Slider popup window - android

Friend's
I need to get slider pop up window,when i click a tab control available at bottom.when i click the tab,i need to show the slider pop up from bottom to top animated to show the login button,after login i have to move my actual tab Activity.How can i get the view for slider pop up.
lets refer the screenshots,i attached here what i need exactly..
.
From these when user to choose login at the time second screen appears looks like it.
How can i get the view like this above.
Thanks in advance..

Get the sliding drawer view by id, cast it to a SlidingDrawer and then there is a function the SlidingDrawer object to pop it up. You might have some weird issues though with screen state if users do stuff like hit back or close the slider.
To do what you need in the screenshot, do a sliding drawer with an empty handle and slide that up from the bottom as needed. The sliding drawer is just another layout that can contain buttons, etc.
Here is an example: http://www.androidpeople.com/android-sliding-drawer-example-tutorial/

Related

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

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 Home screen design with tiles type navigation instead of navigation drawer

I have an app with home page showing a Google map with current location.
So according to the sketch in my home page i have a image icon or button type in my first screen and when i click on that icon or button a tile type opens up where there will multiple activities you can go.
Example if you click on 1 then it goes to one activity to do some task and if you click on 2 then it goes to another activity and similarly for 3 ,4 ,5 ,6 and whenever i click on any of the tiles it should go to particular activity.
I tried searching lot how to achieve this task over Google and thought some experts would me help me out with this in here.
And another point is home screen should not change if you click on icon or button in first image. As i mention in image both screen will be home page with map showing current location.
You can make it yourself. Set a RelativeLayout (in which there are six buttons) in the lower-right corner, and set it's visibility to View.GONE, then set another view in the lower-right corner as the button to open the expanded menu. When click on it, set the button to View.GONE and the RelativeLayout View.VISIBLE.
Hope it 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.

swiping view or layout in android

I'm trying to make an extra effect to menu that will come down from the top of the screen
I want to make it enter the screen while swiping it from the top and if the user left it, it should continue to the end
this is the figure that demonstrate what I want to do:
I tried to do it with animation but the animation will not go on while swiping and it will go to the end without touching
any other ideas to move the view down with finger ?
Check this out for a sliding Drawer http://developer.android.com/reference/android/widget/SlidingDrawer.html
it sound like you kind of want the same thing as the pulldown menu at the top of all android phones except you want it customized, the link will show you that.
OK
It works for me now
I used SlidingTray.java class from this API
API Website
btw : this api open source

Categories

Resources