I have implemented a launcher application based on grid view with flipper to show all the application icons successfully. Using flipper I am able to view all pages one by one.
I want to implement pinch zoom (multi touch) to view all the pages in single page (Refer default launcher in android). And by clicking a mini page in that, it should open the respective page.
Please guide me for the above problem.
Thanks,
Biplab
Related
How to achieve image sliding option with page indicator like play store image slider in home page?. I want to achieve the paging indication as same as play store does it home page of play store app . Please find the screenshot for the same .
I don't think Android will go private libraries . I want to use the same what google has used to develop for the same .
After doing some search I believe all you need is ViewPager and ViewPager.OnPageChangeListener
The dot page indicator could be the page number of drawables. When new page is selected, onPageSelected is called and in there you can set which dot should be enlarged (or replace the drawable with a larger dot) to indicate the current page.
Here is a similar question with some other way of implementation:
Android ViewPager with bottom dots
I am working on a chatting app. I want to show a custom view at the bottom just like Facebook Messenger. Facebook Messenger have a custom view at the bottom which comes in chatting screen. This view is of exact height as that of virtual keyboard. This custom view shows camera, stickers, recording option and much more. How can I implement this kind of view in my app?
The part in the red box in the first image is the view I want to show which will come in the place of keyboard. This custom view can be just any Layout. I may show camera, pictures, musics, videos, files, emoji or sticker here. Please help me out.
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
do you have any idea how to create the quick control that has been shown in the Android 4.0.4 default browser for a custom web view? That was very impressive, slide your thumb cross the edge of the screen and some menu items pop out at your finger tip. here is a sample link: http://www.droid-life.com/2012/02/07/tip-browser-quick-controls-expanded-in-android-4-0-4/
I've tried to implement that in a custom web view but failed
For those of you who have used the Facebook app, it has an interesting way of showing more information on the home activity by having a draggable view at the bottom of the screen that, when dragged up, shows Facebook notifications. Dragging the same view back down hides the notifications. Note that this will work either by holding and dragging it to the top of the screen or simply flinging it in that direction.
I would like to do something similar for my app. I have a LinearLayout at the bottom of my activity and want to be able to drag it up to see more information. How can I go about doing this? Are there any tutorials available?
Have you checked out the sliding drawer component?
http://developer.android.com/reference/android/widget/SlidingDrawer.html
I think this might be what you are looking for.