I would like to implement a piece of Android UI that appears in a messaging app when the recipient is typing. Something like this, which appears in the Facebook Messenger Android app:
I imagine the solution is a combination of layout, drawable, and animation resource files, but I am stuck trying to pull all the components together into 1 piece of UI.
What is a high-level implementation of this Android UI?
(I can fine-tune the design and animation effect myself).
The simplest answer here seems like a single high quality gif would be the answer. You could use this gradle dependency https://github.com/koral--/android-gif-drawable which would allow you to get away with a single piece of layout instead of needing to worry about multiple nested views.
Related
How to achieve a very cool looking on-boarding screen animations like the attached one.And which technology is used for it. is it Lottie Animation/video that developers control on Swipe gestures, or it is achieved by coding.
The animation you have picked is from this source is basically a UI design, which is mainly done by either Sketch or Adobe XD
So the main task is to transform this Sketch App UI Design to Android XML. There is a lot of tutorial in youtube like this from where you can do this.
Then you need to know some basic about XML animation how its work with java. From this video and this link you will get some idea.
Then Finally you need to build an intro slider on your own. You can follow this video and this post
but there is some library also by which you can do this.
You can use App Intro and material-intro-screen
I want to make a menu in an Android application that use AwCollectionViewSlidingDoors animation like in iOS. This application uses it. I didn't find any implementation of such thing.
There is no existing library which offers this type of animated menu for Android, yet. If you want to achieve this, you will have to code it yourself. However it is relatively straight-forward. You just need to utilize the existing Android Animation API and integrate the slide-up/down in a menu.
See previous answer to a question detailing this sort of animation and start educating yourself on the Android Animation API via the official documentation.
I have a UWP application and I want it to be able to run into Android and also IOS using Xamarin.forms. Is there anyway to port it and run it on both of them?
Short answer: no.
Long answer: Xamarin Forms is "Xaml" too, but works on top of a completly different framework.
If you have used a good architecture, you can use all your viewmodels (or whatever your ui logic is called) and just put a Xamarin.Forms UI on top of that. With a little luck, you can reuse a lot of the structure from your existing xaml, but as most names are different, it is almost a complete rewrite. Or you could put a native UI with Xamarin.Plattform UI on top of your code.
So if you want to go cross platt form, you have to add at least one completely new UI.
I am developing a multiplayer android game and I am trying to add a chat UI for players to talk to eachother.
I don't want this chat UI always visible because of space issues, I'd like there to be a tab that you can press or slide that will bring the chat menu up. I have a sketch so you can see what I mean...
How can I go about implementing this in android.
I know I am going to need to use EditText and TextView etc but How can I get the sliding thing to work.
EDIT: I'm not looking for a flat out answer. I just need guidance. What widgets, methods etc should I be studying
There used to be a SlidingDrawer in the Android SDK. It is officially deprecated and, to be honest, was never that good.
There is nothing in the Android SDK that directly replaces the old SlidingDrawer. The leading third-party implementation seems to be AndroidSlidingUpPanel, though there are probably others floating around.
I want to show a dashboard like interface in my Android tablet app where the user can drag and drop listviews using touch. Is there a library that i can use to give d&d to my app?
For android 3.0 and up, which is usually in all Android tablets. You can use this:
http://developer.android.com/guide/topics/ui/drag-drop.html
You do not necessarily need a library to give the drag and drop functionality. It is already in Android 3.0 and up. If you want the code, the best way is to write it yourself as it will suit you to what you want. To learn about it, look at several examples and read them. It is pretty simple and acts much like OnTouchListener and MotionEvent.