I am working on android chat application. I need to use bubbles for chat sms. Is there any working example for this. It will be of great use if someone who have worked on such applications can guide me with few working examples.
Thanks in advance.
This Tutorial will help you:
Custom adapter for ListView to create bubble shaped list rows
see this link
you always should understand the 9-patch drawable
9-patch
Hope this will help you
Related
I am trying to implement this listview in my messaging app but m confused how to do it. Can anyone please suggest me any idea or provide me some resources or samples.
Thanks in Advance.
I want to implement a table with one column, or maybe a list in Android.
I would like to customize the cells.
Do you know some tutorial that can help?
Thanks in advance,
Luda
Here is a great place to start:
http://www.androidhive.info/2012/02/android-custom-listview-with-image-and-text/
This is a great tutorial.
I know, it's an old question but, I can help anyone who has got same request.
There is a TableView Library for Android. It's also open source and located in github.
There are also 2 sample apps that show how you can use tableView on your application.
I did search the internet to find an answer to my questions but there are no websites that did help me, so I hope someone can! Thank you in advance and have a nice day :-)
So these days I've been busy to get more into the Android Design guidelines and to learn more about it and how to implement it in my future applications. This is the main website I use to see what the guidelines are: http://developer.android.com/design/index.html. Great website but there are a few small things I just can't find in the dev guide or somewhere else. I just don't know how to implement some (simple) UI elements.
Can someone provide me code snippets of the following questions? (I want to know how to do it as simple as possible, how Google ment it!) It can help other (starting) developers too!
My main question is, are there special elements to achieve these things? As they are the key element in Android 4.0 it should have this things as some standard right?
1) Android 4.0 is using titles with dividers a lot in there new theme and it's looking great. But I can't find how to do implement this element simple like it should. What I want to know is how to make this blue title text with the grey looking divider underneath it look at this picture:
2) How to make section dividers in general? Like this image:
3) How to make a list with section dividers and give a list-item a 2-line explanation under it's name like this:
I did search the internet to find an answer to my questions but there are no websites that did help me, so I hope someone can! Thank you in advance and have a nice day :-)
In most cases how you are going to have to do it is create a custom layout. I tried recreating the look of the people application this way. for the most part the look you are going for is similar to the PreferenceActivityview. That gives you the look of the last image and probably how it was done in the People application with some extra programming. I just found it easier to create my own layout though instead of trying to mess around with that.
To my knowledge there is nothing in the api to create what you are looking to do easily and custom layout are going to be the way to go.
the custom dialog layout like you show in the beginning is very simple to do so if you dont know how to do manipulate layouts I would start there. look up the android color swatches to get the color of that blue
Edit
another thing you could do is look through the People source code and see how they did it but it will probably be more of a pain than what its worth when you can just do a layout
I have a doubt to be clarified. I am able to fetch the buddylist from my xmpp. I am facing issue to how to display them in list view. I am looking for a simple code to display these contacts in a list. Please help me in this.
Thanks
To learn about the basics of the list view, Please see the List View sample application in android developer site.
I just need a spinner which is like in Web. Is is possible to do? I've searching for below sample image. I just googling that, but i got only spinners like iPhone. How to do like in below image? Anyone guide me?
First link on a google search for custom spinner... http://www.gersic.com/blog.php?id=57
See the tutorial here: http://developer.android.com/resources/tutorials/views/hello-spinner.html