How to implement tickers in android for stocks and news? - android

How to implement an Android ticker for stocks/news. My requirement is to implement it like the one in image for NASDAQ -
There are apps in market doing this so it is possible. Nearest possible question failed to provide any relief. Sample Code for achieving this functionalty will be more helpful.

If you are looking for an view which is always visible and always on top of all the views, then have a look at the SystemOverlay in android. This link also has some helpful information..
Check out this post to create TextView with ticker like support and this post for sample code...

Related

How to create a tinder-like swipeable card stack

I would like to ask about the tinder-like swipeable card stack for my application. The point of it is that users will be able to see photos and swipe when they want to see another one. I'm already sending and receiving images to and from webservice and I have been trying some libraries that could manage to do this (googled 'swipedeck' and 'swipecard') but non of them either offered enough flexibility to customize actions fully, or were not working with ImageViews, only TextView.
Now I'm new at this, but I figured that there has to be some kind of RecyclerView, TabLayout or some other implementation that would make it possible to do this and would include also transitions/sliding effects between pictures. I just need someone to point me in the right direction.
Could you please help me by posting your ideas? It would help a lot, and I do not need any specific code parts, I will do my research later on based on your ideas. Thank you a lot!
This is the official guide on creating sliding screens using Viewpager. This should help you get started : Using Viewpager for Screen Slides
There is a project in github that does exactly that - it's called "TinderStack", and you can find it at https://github.com/lawloretienne/TinderStack

Android: how to make an image viewer with ListView at bottom

I have received a requirement make an image viewer with the listview at bottom like this video https://www.youtube.com/watch?v=aC4OFRxk988 but I don't know the name of that controller to research. Please help me. Thanks
I think viewpager and listview.
and dynamic scale image view are setmatrix.
simply reply. i can't add comment at your post....
if want more hint reply me.
https://github.com/ksoichiro/Android-ObservableScrollView
You can find here some custom implementations.
Test the demo app from the play store and check which one has the closest functionality to the one you desire. Then take a deep breath and try to understand how it's done.

Custom pop up or spinner for android

i found a design in IOS that i really like but i cant figure out how to do it in android i have tried doing a custom spinner and am having a hard time with it and i thought of using a pop up but i need to be able to put clickable button in the pop up, so i think a spinner is my best change. I am going to post a picture of what i am trying to accomplish, specifically on the little half box on the top of the drop down! Thanks would really Appreciate some help thanks!!!! ![enter image description here][1] Also i have seen this in Android as well so i know it can be done. http://i.imgur.com/L1ftrSU.png
It's action you showed in your image is called QuickAction, there are many tutorials on how to create one:
Try the NewQuickAction lib, it has a number of modes, and one of them will give you exactly the same layout as your sample image. Here's a quick tutorial for using the library. Have used this lib for 2 years and worked quite well.
This tutorial offers another method to accomplish the same thing, worth checking out as well.
You can use OptionMenu. Refer to this link!

how to change next page using swipeview in android?

am new to android.am doing simple aphabate app.in that app am using alphabetes letters.when swipe on the letter how it will move to next letter.please give me suggestions
thanks in advance
I would like to suggest u to tak a look at the following Android Dev blog post about using ViewPager in the Android Compatibility Package to implement the swipe functionality you're looking for:
http://android-developers.blogspot.com/2011/08/horizontal-view-swiping-with-viewpager.html
The recommended approach is most likely to use a Fragment for the chat history and text input field as this will give you the most flexibility across devices.
Try this link: In this link he is showing listview item on swipe.
Check the complete code here

Creating iPhone style bubble list view in android

I am creating a chat application the interacts between two users. I want to show the interaction between the users in the form of a iPhone bubble list view...
I found a tutorial that shows to create a bubble list in IOS... Here's the link......
I have seen lot of Android applications that display the bubble list view like Handcent sms etc. I am also sure that some developers here may have a clue about doing it... I would be grateful if any one direct me towards a tutorial or some samples of achieving the task...
You want something like this?
Click on the screen shots.
that is a twitter application that presents tweets in a bubble like format.
You'll have to implement a custom adapter for you ListView, where inside the getView() method, you can control how each row is drawn.
Implement different custom layouts for even-odd rows and you can something like this.
EDIT: You can find a full tutorial here: http://thetechnib.blogspot.com/2010/12/android-tutorial-custom-adapter-for.html

Categories

Resources