Tag Archive: Visual Studio 2012

Xamarin – Write file to SD Card in Android

In this post we would how we write a file to SD Card in Android.   First of all, you need to set the following permission in Android Manifest.   Here is how… Continue reading

Xamarin – SeekBar control in Android

As a Windows Phone developer, it was hard to find the control in the Toolbox. Since I was searching for Slider control, thanks to the core Android guys who helped me out. In… Continue reading

Xamarin – Get Selected Items from ListView in Android

In this post we would see, how to get the selected items from the screen activity where a list of options are displayed.   The following is the layout for displaying the Multiple… Continue reading

Xamarin – Display Fixed Layout at the bottom in Android

In some design scenarios, where we would require a fixed layout at the bottom of the screen. The fixed layout may contain a set of controls. In this post, we would see how… Continue reading

Xamarin – Selective ListView in Android

In this post we would see how to display a collection in ListView and select one or many items. As we are going to have a ListView, the following is the simple layout.… Continue reading

Xamarin – Alert Dialogs in Android

In this post we would see how to display alerts, and we would see some customization.   We would see two types of Alerts, such as a simple alert which has a message,… Continue reading

Xamarin – Display Entity Collection in ListView in Android

In this post, we would display a collection of some entity in ListView. Let’s start with creating the following Person entity.   The Person entity class is located under Model.   Now let’s… Continue reading

Xamarin – Binding data to ListView in Android

In the previous post, we used a ListActivity for displaying data or collection. In this post we would use the ListView control and bind data or collection to it. We would need a… Continue reading

Xamarin – ListActivity in Android

In this post we would see what ListActivity is, and how to display data. As you see in above image, ListActivity is inheriting Activity. It has ListView and ListAdapter properties. So basically, ListActivity… Continue reading

Xamarin – Adding Custom Title Bar in Android

In this post, we would see how to add your custom Title Bar, or Action Bar in Android. In the following image, the Greyish Rectangle with Text is the default TitleBar from Android.… Continue reading

Xamarin – Gradient Background for Layout in Android

We have seen how to add an image as background to your layout in previous posts. In this post, we would see how we achieve a Linear Gradient color background for the Layout… Continue reading