I want to achieve an effect:
Page A displays list. A button is on the top of page A.
On click this button, the Page B will be displayed.
The Page A will be push to right side, but not extrusion.
Page A still display 10%, but not hidden.
Related
When going from Page 2 back to Page 1, I created a custom button with custom slide left/right animation between Page 1 and Page 2. Then obviously the "UP" button uses a default animation to go from Page 2 back to Page 1.
I'm referring to the following "UP" button on bottom of Android phones. That triangle "UP" button.
Do all Android apps have the default animation for the "UP" button when going back to page 1? Or can I customize it to have the same animation as my custom button? Or is it even pointless to have a custom back button when Android provides the "UP" button? Is the "UP" button just always default animation, no point of making a custom one?
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.
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.
I am trying to create a YouTube style UI for my app.
I have two Fragment.. lets say A(left) and B(right). On clicking the app icon in the Action bar, B should slides to the right. On clicking again, it should slides back to the left.
I have a Listview on B and A is empty. Also, I am using ActionBarSherlock.
The following behaviour is experienced:
1. When App icon clicked,
B slides to the right normally
When App icon is clicked again
B slides to the left normally
When App icon is clicked again
B doesnt slide unless the fragment is touched manually.
On subsequent clicks, B slides to left normally. But it slides to the right only when touched after clicking the button.
what could be the issue and how can i solve it? Thank you.
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/