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.
Related
I am developing an android camera app that allow popup of page upon pressing a button (besides the shoot button)in the view of the photo capture activity for accessing twitter services, including login(of coz with button), view tweets(listview or list fragment) of bookmarked users and posting tweets.
I am considering the approach to build the layout for the popup stuff. What come across my mind are dialog fragment, popupwindow and simply another activity.
Considering my case, what view is recommended for the popup component?
Depends on the content of your popup:
If popup contains only a list of items use PopupWindow.
If popup contains only a few buttons like ok/cancel some text etc. Use DialogFragment.
If you have more stuff, you should probably use Activity.
How would I go about creating a dynamic Gif keyboard for Android? I would like the user to scroll horizontally across the Gif's and possibly search across them via an integrated search bar in the keyboard
I've seen this link but it doesn't talk about dynamically changing the keys: How to make a Android custom keyboard?
In your InputMethodService there is a callback onCreateInputView()
You can create whatever custom view you want and return in there.
For horizontal scrolling, maybe look at view pager
I am developing a soft keyboard IME for android, and I need the ability to overlay something on top of the text that is being inputted.
The android IME API basically asks for a View to be returned, and I can't seem to draw outside this view.
I have seen this on a demo on another IME (I think it was swype?) where a popup on top of the text for the possible words were shown, but I've not been able to replicate this on my Swype/Swiftkey copy.
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
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.