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.
Related
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.
When we run any gallery app we just open a photo. When tapping anywhere on screen , it generates a kind of snack bar in which there are many buttons like share,delete,edit,star,etc. When again tapping on screen all those items disappear simultaneously all together. Its a kind of snackbar at the top .
I want to know what's that effect called, and how it is used.
As in this image no icons are coming , but when i tap anywhere on screen some icons appear . ON top of screen name is there, and in button i am getting some options. I want all the options that are in bottom should be on top
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.
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
I want to create a custom launcher so that, I'll have list of app icons on the right side of the screen, and when the user clicks on an app icon, it'll open the application on the left side of the home screen (this is the part that I still miss).
Is that doable? if so, where should I start? any links or resources of suggestions?
Thanks in advance.