I have an app with a search bar and want the results to pop up from the button in the form of cards, similar to the ones of Google now. Each result(card) will contain its own information including an image. There is no need for the swipe to remove parts of it. Users should be able to just scroll through the results.
After around 3-4 result cards are scrolled the next set of results should pop up just like how you would scroll in Google now.
What is the easiest way by which I can achieve this?
Is it possible to create a layout prefab or something that I can populate with results from a database and then pull on to the screen?
Please help !
Related
I have a database full of item witout images. i'd like to show an image when the user watches the detail of an item. My idea was to search an image on google, take the first result and then include it in the activity.
Can this be done with android? and if so, what's the best (or maybe the easyest) practice?
I think you can use https://developers.google.com/custom-search/v1/overview to search images
I have done live user testing for a list in my app, and have come to an interesting puzzle.
A list, specifically a single-column table in iOS, may often have a swipe right gesture for more actions, like the twitter app and mail app, and a million other apps. But when important functionality is embedded in the UI beyond that action, and a user cannot figure it out, the only thing that comes to mind to alleviate that is something like the accessory button, ie. a right-pointing triangle or chevron button.
There is probably another way but it's not coming to me. Maybe making the rows taller than normal?
This was meant as a comment but was rejected as too-long.
So after thinking more about this, the ideal solution is a visual clue, rather than painfully obvious text saying "swipe a row for more options". Perhaps when a list (UITableView, etc) is shown and rows (UITableViewCell, etc) are created and added, then as they appear an animation begins of the main visible content sliding into place in the OPPOSITE direction of the desired swipe animation, with a minimal visual indicator afterward, reminding the user that the content is moveable!
Sound good? Optionally, immediately before the animation begins, any underlying content may be shown for a split second (if its supposed to appear underneath). Sweet!
I've been searching a while, but i can't find any clue, so maybe someone can help me here.
I'm using ExpandableListView in android to show my info ordered in groups, and everything works great.., the problem is that is common that the group has more than 20 elements, so when I scroll down the list, the title of the group goes up further the screen, and of course, it dissapears. My client says that in iPhone, it is possible to keep the title of the group on the top of list until the last element of the group dissapear when the user scroll up the list, so he wants the same functionality in android. I'm trying to find something like that, but I can't find anything.
Does anybody knows it this behavior is possible to do in android.
Thanks a lot.
(And sorry about my English.. i need to improve it a lot ):(
I am working on an exercise program, and one part is to pick an exercise, then how often you do it, with how much weight.
So, I want all this information on one screen, so going to a ListView would be annoying, I believe.
But, there may be over 100 exercises, so my current approach of using a Spinner has a problem.
It would seem that if my list is sorted, then if you can hit a key and jump to that letter then it would speed up searching for the user.
So, would it make sense to have a custom component that is basically just a dropdown list (http://msdn.microsoft.com/en-us/library/aa511458.aspx) or is there a better way to allow users to navigate a long list without going to a new screen?
You can try autocomplete widget that is described here
http://developer.android.com/resources/tutorials/views/hello-autocomplete.html
The Contacts app shows a button on the side of the screen that acts as a little thumb to allow you to quickly scroll the big list. I have a very long list that would benefit from this navigation behavior, but can't find any documentation as to how to enable it.
Is it a behavior that's built into the SDK, or must I write it myself?
Yes, it is included in the sdk. See here:
http://developer.android.com/reference/android/widget/AbsListView.html#attr_android:fastScrollEnabled
just set this property. If you want to further enhance this like the contacts that shows the letters for the section you are in you can use this.
http://developer.android.com/reference/android/widget/SectionIndexer.html