[mono-android] How to create a custom control and populate a ListView with it?

kailua ivan at kailuaboy.com
Fri Jun 22 05:22:06 UTC 2012


http://www.droiddraw.org/ is a good place to start with trying to create your
layouts for the different activities.

Take a look at http://docs.xamarin.com/android/tutorials/User_Interface <--
for Layouts and
http://docs.xamarin.com/android/tutorials/User_Interface/list_view <-- for
ListView example (very basic)

You can do what you want (simple colored rectangle on left and text on
right) with linear layout. The one layout (row.axml) will be used by the
Listview code to be created as many items as you have it to populate.

--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/How-to-create-a-custom-control-and-populate-a-ListView-with-it-tp5710444p5710484.html
Sent from the Mono for Android mailing list archive at Nabble.com.


More information about the Monodroid mailing list