Using a List with icons on an Android - android

I am coding an Android application in Xamarin and have a question about a List.
I am currently coding many TextView objects on screen with contact details.
This is not displaying how I wish it to and I am wanting to know the correct programming object to use that is the same as the Settings list on many Android devices.
This list is the list that has:
Wi-Fi
BlueTooth
Data Usage
etc
Each of these items has an icon and the items can be clicked on.
Is this called a List, a ListView or something else? Also, if possible, may I have a link to some example code on how to use this object?
Thanks in advance

It is called custom listview, you get a lot of tutorials if you search that:
For an example code, check this out.
http://www.vogella.com/tutorials/AndroidListView/article.html

Related

Android Disclosure Indicator Solution

I developping an Android app based on its iOS twin. In one of our view, we have a list with many information but not necessarily all the information we want. In iOS, they have the right-carret disclosure indicator, but is there an equivalent in Android?
According to this page, http://developer.android.com/design/patterns/pure-android.html, Android app should not have any such thing. But how can I make it clear to the users that there is more info to be shown if they click on the list item?
Thank you!
You can use a ListView and set any icon you want for each item of the ListView.
It's a paradigm of the OS that clicking on list items takes you into a more detailed page. Just simply the fact that it's a list should make it clear to users that there is more information under there as long as the title of the list item is clear. For example the items in the link that you sent make it clear that you can click on them to get more Bluetooth or WiFi settings.

Android 4.2 Contacts ListView UI for own app?

I need to build an android app which is as similar as possible to the contacts app on my S4, but with other data in the list. Have the data as an ArrayList. I've googled a lot, but there seems to be no examples with the same looking or searchfield above. Is it possible and also legal to use the original contact list source with the sections and alphabetics index, where the letter is large displayed on scrolling? I'm using Android Studio and have used the template with tabs and swipe using fragments, which also should be supported, because of the detail view of the list items. What would be the most simple way to get what I need? Lots of thanks.

Android: implementing contacts app layout

Does anyone have a tutorial or link to android source or anything that I can use to learn how android created their contacts app. I'm looking into creating a small app that will can display some data similar to how the contacts app displays its contacts. It seems to be some kind of list view with image buttons for actions.
**EDIT***
Lets make this a little easier, any one have any idea how on Android 2.1 and so far up to 2.3 the contacts tab and favorites tab can display a contact and next to it a button. I had thought this was somehow done in a listview but according to what I've read it's not possible to have a clickable listview plus button on a list item. So I'm assuming somehow a listview is being created and a button added next to the listview. I've tried looking at stock android source on github but I just dont understand it.
Here's the git hub for the Android contacts application:
https://github.com/android/platform_packages_apps_contacts

android swipe to delete list row

so i've done some searching but haven't found a good answer. anyone who's familiar with android 4.0 knows the fancy swipe to remove running apps. i'm trying to implement this into a dynamic list.
when i say dynamic, it's a list being built with a base adapter and holder's.
i'm wondering if anyone has a good example of how to implement this swipe feature into a dynamic list. i want it to have the fancy animation and everything of the list collapsing back together after an element is removed. but, for now, i'm looking for a good starting point on how to properly implement this.
any and all help is always appreciated. thanks all!
SwipeListView is an excellent ListView extension that does this. A demo application is also available on Google Play here: https://play.google.com/store/apps/details?id=com.fortysevendeg.android.swipelistview

How do you search a list for recipe's in my application

I am new to android and have been teaching myself how to create apps through the android developers website. My app itself is like a recipe book. It lets me add my favourite recipes to a database so therefore where ever I am I am able to see what ingredients and the method for creating my favourite dishes. The list is getting rather long now so I was wondering if there was a way to search through a list like you do for contacts in your phone book. This would make things a lot easier for me.
Thanks in advance
You can actually integrate the Android search box (the one that pops up when you hit the "search" hardware key) into your application, so it searches your data. There's a page on Using the Android Search Dialog in the Android Developer Guide.
Also for user convenience and habbits to use search button you can override onSearchRequested method and do anything you want, show additional layout etc...

Categories

Resources